diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-30 10:24:46 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-30 10:24:46 +0000 |
commit | 0ba2ce0c3d1aad8622c618795fab5551f9dd349d (patch) | |
tree | 549d58d8aa65be59facf63f0db00bf405349fd25 /views | |
parent | 076c873a8d34970ff6895eb21e8fab0cca6b3357 (diff) | |
download | elgg-0ba2ce0c3d1aad8622c618795fab5551f9dd349d.tar.gz elgg-0ba2ce0c3d1aad8622c618795fab5551f9dd349d.tar.bz2 |
Partial fix for constantly-shrinking widgets bug.
git-svn-id: https://code.elgg.org/elgg/trunk@1205 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views')
-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 -->
|