diff options
author | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-23 02:14:49 +0000 |
---|---|---|
committer | ewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-02-23 02:14:49 +0000 |
commit | 02a1bdd5ee3fe1ea4eb93fc8c6b9f3a4478e3215 (patch) | |
tree | 83bebc004342b8e72c894c2177b5d4a8d93e6e36 /views/default/object/widget/elements | |
parent | 766b704f832b3c46b31781e73238f14771b5197e (diff) | |
download | elgg-02a1bdd5ee3fe1ea4eb93fc8c6b9f3a4478e3215.tar.gz elgg-02a1bdd5ee3fe1ea4eb93fc8c6b9f3a4478e3215.tar.bz2 |
Refs #2976: Converted most markup to use elgg-toggler elgg-toggles-* pattern
git-svn-id: http://code.elgg.org/elgg/trunk@8443 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/object/widget/elements')
-rw-r--r-- | views/default/object/widget/elements/controls.php | 3 | ||||
-rw-r--r-- | views/default/object/widget/elements/settings.php | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/views/default/object/widget/elements/controls.php b/views/default/object/widget/elements/controls.php index 09f5fc947..39eba471a 100644 --- a/views/default/object/widget/elements/controls.php +++ b/views/default/object/widget/elements/controls.php @@ -33,8 +33,7 @@ if ($widget->canEdit()) { 'text' => ' ', 'title' => elgg_echo('widget:edit'), 'href' => "#", - 'class' => 'elgg-widget-edit-button elgg-toggle', - 'id' => "elgg-toggler-widget-$widget->guid" + 'class' => "elgg-widget-edit-button elgg-toggler elgg-toggles-widget-edit-$widget->guid", ); $edit_link = elgg_view('output/url', $params); } diff --git a/views/default/object/widget/elements/settings.php b/views/default/object/widget/elements/settings.php index 05cc7b5ce..5afe56ed8 100644 --- a/views/default/object/widget/elements/settings.php +++ b/views/default/object/widget/elements/settings.php @@ -8,6 +8,6 @@ $widget = elgg_extract('widget', $vars); ?> -<div class="elgg-widget-edit" id="elgg-togglee-widget-<?php echo $widget->guid; ?>"> +<div class="elgg-widget-edit" id="widget-edit-<?php echo $widget->guid; ?>"> <?php echo elgg_view_form('widgets/save', array(), $vars); ?> </div> |