Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
toolbar.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2010 at 10:45 UTC
Updated:
25 Sep 2013 at 13:51 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
aspilicious commentedHere is a reroll
Comment #3
aspilicious commentedComment #4
casey commentedThanks (I am having problems with my IDE and was trying out another one).
Comment #5
casey commented#2: toolbar_js_v2.patch queued for re-testing.
Comment #6
thedavidmeister commentedPatch no longer applies.
The issue summary states that we want to avoid errors if #toolbar is not in the DOM for some reason, but the patch in #2 doesn't seem to address that, as it checks $toolbar[0].filters; $toolbar.length might be more appropriate here.
See http://jsfiddle.net/uA9zE/ for an example of the error I'd expect to see if #2 was re-rolled.
This code doesn't seem to exist any more in D8, so I'm not sure if it's a problem any more there.
Review bonus #2094585: [policy, no patch] Core review bonus for #1898420: image.module - Convert theme_ functions to Twig.