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.
follow up to #2821263: If a toolbar item besides the admin menu is open when going into edit mode it is not closed.
It works now but doesn't use the correct method therefore is more likely to break.
Comment | File | Size | Author |
---|---|---|---|
#5 | 2843901-2.gif | 250.81 KB | GrandmaGlassesRopeMan |
#5 | 2843901-1.gif | 101.56 KB | GrandmaGlassesRopeMan |
#2 | 2843901-2.patch | 616 bytes | tedbow |
Comments
Comment #2
tedbowThis is @droplet's fix not mine. Thanks for it
Comment #3
tedbowComment #4
tedbowNote for reviewer.
Since this patch is not introducing new functionality, just correcting Javascript to be more correct there is already test coverage in \Drupal\Tests\outside_in\FunctionalJavascript\OutsideInBlockFormTest::testBlocks to test that different open toolbar items are closed when entering edit mode.
The tests still pass.
To manually test it doesn't break that functionality
Comment #5
GrandmaGlassesRopeManThis looks good.
Comment #8
webchickCommitted b47dc9e and pushed to 8.3.x and cherry-picked to 8.2.x. Thanks!
Comment #9
droplet CreditAttribution: droplet commentedThis is missing my credit. LOL
Comment #10
webchickOops! Fixed. :)
Comment #14
tedbowChanging to new settings_tray.module component. @drpal thanks for script help! :)