diff options
Diffstat (limited to 'views/default/widgets')
-rw-r--r-- | views/default/widgets/wrapper.php | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/views/default/widgets/wrapper.php b/views/default/widgets/wrapper.php index 6e3e26e5d..99deda834 100644 --- a/views/default/widgets/wrapper.php +++ b/views/default/widgets/wrapper.php @@ -57,17 +57,18 @@ ?>
<div class="collapsable_box_content">
<?php
+
+ echo "<div id=\"widgetcontent{$vars['entity']->getGUID()}\">";
+
} // end if callback != "true"
- echo "<div id=\"widgetcontent{$vars['entity']->getGUID()}\">";
-
echo elgg_view("widgets/{$handler}/view",$vars);
- echo "</div>";
-
if ($callback != "true") {
+ echo "</div>";
+
?>
</div><!-- /.collapsable_box_content -->
</div><!-- /.collapsable_box -->
|