aboutsummaryrefslogtreecommitdiff
path: root/views/default/object/widget/elements
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/object/widget/elements')
-rw-r--r--views/default/object/widget/elements/controls.php3
-rw-r--r--views/default/object/widget/elements/settings.php2
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>