Closed (fixed)
Project:
Drupal core
Version:
8.1.x-dev
Component:
ajax system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
22 Mar 2016 at 17:40 UTC
Updated:
22 Apr 2016 at 14:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottSo now to work out why this fixes it...
Comment #3
wim leersIsn't it simply the controller for
/admin/config/development/configurationthat fails to attach this asset library?Comment #4
alexpottWell admin/structure/block is also broken... there seems to be the assumption that
'data-dialog-type' => 'modal'only requirescore/drupal.ajaxComment #5
alexpottMaybe the library all these things should be attaching is
drupal.dialog.ajax?Comment #6
alexpottYep that fixes it.
Comment #7
nod_Apart from the CSS messing things up, I do see the modal open when I do exactly the steps of the OP. I really do not want drupal.ajax depending on jquery UI.
When the page is loaded things are fine, clicking on View differences will trigger an ajax request, which returns a command array, on item of this array is the inclusion of a js file, that contains jquery ui & co. and the next command is the openDialog command. Do you have any js error?
If this fails it means that the js file didn't load before the openDialog command triggered. Which is a know limitation of our ajax framework, there is an issue somewhere about it.
Comment #8
alexpottComment #9
alexpottd.o xpost bug means that #7 removes the file I added in #6 :)
Comment #10
nod_Better, thanks!
Comment #11
catchCommitted/pushed to 8.2.x and cherry-picked to 8.1.x, thanks!
Comment #14
drummCorrecting issue status, see #2698635: Issue statuses changing by themselves?.