diff options
Diffstat (limited to 'views/default/layout/objects/widget')
-rw-r--r-- | views/default/layout/objects/widget/controls.php | 7 | ||||
-rw-r--r-- | views/default/layout/objects/widget/settings.php | 2 |
2 files changed, 5 insertions, 4 deletions
diff --git a/views/default/layout/objects/widget/controls.php b/views/default/layout/objects/widget/controls.php index b07a42e22..79e434f1a 100644 --- a/views/default/layout/objects/widget/controls.php +++ b/views/default/layout/objects/widget/controls.php @@ -12,7 +12,8 @@ $params = array( 'text' => ' ', 'href' => "#", 'class' => 'elgg-widget-collapse-button', - 'internalid' => "elgg-widget-collapse-button-$widget->guid" +// 'internalid' => "elgg-toggler-widget-$widget->guid" +// 'internalid' => "elgg-widget-collapse-button-$widget->guid" ); $collapse_link = elgg_view('output/url', $params); @@ -30,8 +31,8 @@ $params = array( 'text' => ' ', 'title' => elgg_echo('widget:edit'), 'href' => "#", - 'class' => 'elgg-widget-edit-button', - 'internalid' => "elgg-widget-edit-button-$widget->guid" + 'class' => 'elgg-widget-edit-button elgg-toggle', + 'internalid' => "elgg-toggler-widget-$widget->guid" ); $edit_link = elgg_view('output/url', $params); diff --git a/views/default/layout/objects/widget/settings.php b/views/default/layout/objects/widget/settings.php index c1e00c3f1..8020983c6 100644 --- a/views/default/layout/objects/widget/settings.php +++ b/views/default/layout/objects/widget/settings.php @@ -33,7 +33,7 @@ $body = <<<___END ___END; ?> -<div class="elgg-widget-edit"> +<div class="elgg-widget-edit" id="elgg-togglee-widget-<?php echo $widget->guid; ?>"> <?php $params = array( 'body' => $body, |