aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/canvas/layouts/widgets.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/views/default/canvas/layouts/widgets.php b/views/default/canvas/layouts/widgets.php
index 403ea8f96..1ef87d2f6 100644
--- a/views/default/canvas/layouts/widgets.php
+++ b/views/default/canvas/layouts/widgets.php
@@ -174,13 +174,7 @@
if (is_array($area2widgets) && sizeof($area2widgets) > 0)
foreach($area2widgets as $widget) {
- // echo elgg_view_entity($widget);
-
-?>
-
- <script type="text/javascript" src="<?php echo $vars['url']; ?>pg/view/<?php echo $widget->getGUID(); ?>?view=js"></script>
-
-<?
+ echo elgg_view_entity($widget);
}
?>