Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
menu system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
27 Sep 2014 at 16:58 UTC
Updated:
19 Oct 2014 at 15:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
realityloop commentedComment #2
realityloop commentedThere appears to be javascript for this in /core/modules/menu_ui/menu_ui.js
Comment #3
FredericoT commentedLooks to me because the #attached attribute is incorrect and because of that menu_ui.js was not being loaded. And also a couple of selectors seem to be incorrect.
The following patch corrects the issue for me.
Comment #4
FredericoT commentedComment #5
dawehnerOh wow, can we add validation on library level, just curious.
Comment #6
murrayw commentedI have manually tested the patch #3 and it works. The functionality is the same as in d7. I think that this is RTBC.
dawehner - I am not sure if it is correct to include validation in this way in the library. My gut feel is that it is OK in this case. Splitting that out into a new file would make things more complex.
I have attached screenshots showing the before and after.
Comment #7
realityloop commentedThanks for the screenshots @murrayw, if you are using dreditor (dreditor.org) it's handy to embed the images in your post :)
Before:

After:

Comment #8
alexpottCommitted 1c95b46 and pushed to 8.0.x. Thanks!