summaryrefslogtreecommitdiff
path: root/modules/dashboard/dashboard.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules/dashboard/dashboard.js')
-rw-r--r--modules/dashboard/dashboard.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/dashboard/dashboard.js b/modules/dashboard/dashboard.js
index 9f9d46855..fab91852e 100644
--- a/modules/dashboard/dashboard.js
+++ b/modules/dashboard/dashboard.js
@@ -23,7 +23,7 @@ Drupal.behaviors.dashboard = {
// If the region is empty
if ($('.block', this).length == 0) {
// Check if we are in customize mode and grab the correct empty text
- if ($('#dashboard').hasClass('customize_mode')) {
+ if ($('#dashboard').hasClass('customize-mode')) {
empty_text = Drupal.settings.dashboard.emptyRegionTextActive;
} else {
empty_text = Drupal.settings.dashboard.emptyRegionTextInactive;
@@ -44,7 +44,7 @@ Drupal.behaviors.dashboard = {
* Enter "customize" mode by displaying disabled blocks.
*/
enterCustomizeMode: function () {
- $('#dashboard').addClass('customize_mode');
+ $('#dashboard').addClass('customize-mode');
Drupal.behaviors.dashboard.addPlaceholders();
// Hide the customize link
$('#dashboard .customize .action-links').hide();
@@ -56,7 +56,7 @@ Drupal.behaviors.dashboard = {
* Exit "customize" mode by simply forcing a page refresh.
*/
exitCustomizeMode: function () {
- $('#dashboard').removeClass('customize_mode');
+ $('#dashboard').removeClass('customize-mode');
Drupal.behaviors.dashboard.addPlaceholders();
location.href = Drupal.settings.dashboard.dashboard;
},