Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I found a little coding standard bug in dashboard.js: the line indent is wrong in:
/**
* Implements Drupal.behaviors for the Dashboard module.
*/
Drupal.behaviors.dashboard = {
attach: function (context, settings) {
$('#dashboard', context).once(function () {
$(this).prepend('<div class="customize clearfix"><ul class="action-links"><li><a href="#">' + Drupal.t('Customize dashboard') + '</a></li></ul><div class="canvas"></div></div>');
$('.customize .action-links a', this).click(Drupal.behaviors.dashboard.enterCustomizeMode);
});
Comment | File | Size | Author |
---|---|---|---|
#1 | 2011436-1.patch | 712 bytes | kalman.hosszu |
Comments
Comment #1
kalman.hosszu CreditAttribution: kalman.hosszu commentedThe patch is attached.
Comment #2
attila.fekete CreditAttribution: attila.fekete commentedlooks good
Comment #3
David_Rothstein CreditAttribution: David_Rothstein commentedCommitted to 7.x - thanks! http://drupalcode.org/project/drupal.git/commit/ba07bea