We nowhere else put all code in the behavior object. Nor should dashboard.js. It can use some more cleaning but lets review this one first to keep things simple.

CommentFileSizeAuthor
#1 dashboard-cleanup.patch21.91 KBcasey
dashboardcleanup.patch11.18 KBcasey

Comments

casey’s picture

StatusFileSize
new21.91 KB
  • Prefixed all dashboard classes with "dashboard-"
  • Improved dashboard.css by using those classes instead of #dashboard
  • Made Drupal.dashboard reusable; not quite yet, but at least in the right direction
casey’s picture

Status: Needs review » Needs work

Status: Needs work » Closed (outdated)

Automatically closed because Drupal 7 security and bugfix support has ended as of 5 January 2025. If the issue verifiably applies to later versions, please reopen with details and update the version.