aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/shells/widgets/add_panel.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/layout/shells/widgets/add_panel.php')
-rw-r--r--views/default/layout/shells/widgets/add_panel.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/layout/shells/widgets/add_panel.php b/views/default/layout/shells/widgets/add_panel.php
index 2d2a05a08..ff789cbd3 100644
--- a/views/default/layout/shells/widgets/add_panel.php
+++ b/views/default/layout/shells/widgets/add_panel.php
@@ -31,10 +31,10 @@ foreach ($widgets as $column_widgets) {
$id = "elgg-widget-type-$handler";
// check if widget added and only one instance allowed
if ($widget_type->multiple == false && in_array($handler, $current_handlers)) {
- $class = 'elgg-widget-unavailable';
+ $class = 'elgg-state-unavailable';
$tooltip = elgg_echo('widget:unavailable');
} else {
- $class = 'elgg-widget-available';
+ $class = 'elgg-state-available';
$tooltip = $widget_type->description;
}