summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2014-11-02 15:00:49 -0500
committerDavid Rothstein <drothstein@gmail.com>2014-11-02 15:00:49 -0500
commita6d70ddfbbe4c9713d67a93cf5b0548e42ce6b7c (patch)
tree50a98bf8ccd677dd50f2b33a8cbbf861441154dc
parentbc7940aa6a876eeaaa301f54747091166f995b09 (diff)
downloadbrdo-a6d70ddfbbe4c9713d67a93cf5b0548e42ce6b7c.tar.gz
brdo-a6d70ddfbbe4c9713d67a93cf5b0548e42ce6b7c.tar.bz2
Issue #908822 by jmking, asimmonds | salvis: Fixed Dashboard discards <em class="placeholder"> elements.
-rw-r--r--modules/dashboard/dashboard.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/modules/dashboard/dashboard.js b/modules/dashboard/dashboard.js
index 62f13a416..6a55e6cf6 100644
--- a/modules/dashboard/dashboard.js
+++ b/modules/dashboard/dashboard.js
@@ -32,13 +32,13 @@ Drupal.behaviors.dashboard = {
empty_text = Drupal.settings.dashboard.emptyRegionTextInactive;
}
// We need a placeholder.
- if ($('.placeholder', this).length == 0) {
- $(this).append('<div class="placeholder"></div>');
+ if ($('.dashboard-placeholder', this).length == 0) {
+ $(this).append('<div class="dashboard-placeholder"></div>');
}
- $('.placeholder', this).html(empty_text);
+ $('.dashboard-placeholder', this).html(empty_text);
}
else {
- $('.placeholder', this).remove();
+ $('.dashboard-placeholder', this).remove();
}
});
},