Updated: Comment #0
Problem/Motivation
After upgrading to ds-7.x-2.5 much of the javascript related features on the Manage Displays tab of my content types stopped working. I was no longer able to drag-reorder fields, the indicator provided by the Environment Indicator module did not display, and Admin Menu module's menu disappeared (sometimes). downgrading to ds-7.x-2.4 fixed things. Upgrading to ds-7.x-2.5 broke them again.
I was using jquery_update-7.x-2.3, which was set to use jquery version 1.7. I then upgraded to jquery_update-7.x-2.3+6-dev, which allows setting a different version of jquery on admin pages. When I configure jquery_update to use jquery 1.5 on admin pages, then it seems to all work again. If I change it to 1.7 it breaks again.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2078637-4.patch | 629 bytes | swentel |
Comments
Comment #1
swentel commentedI honestly can't see why this is a DS problem. This is more of a jquery update problem, especially since I don't really touch the js of the manage display pages. I'll do a test though, but this is pretty close to won't fix though.
Comment #2
jstollerA lot of people use JQuery Update and many modules require it. If DS is incompatible with the newer JQuery versions, that's fine, but it should probably be noted somewhere and this workaround provided. Unless this is all just me.
Comment #3
swentel commentedJust for testing, could you open up includes/ds.field_ui.inc and go to line 1674 and comment out that block (with key 'layout_link_custom'). That is using states and I know there are some problems with states and OR/XOR states in core. I could write a workaround for it, but even that is a still a core/jquery update problem.
Comment #4
swentel commentedOk, found the problem, damn states ... :)
This makes it work on 1.5 and 1.7
Comment #5
swentel commentedPushed that tot 7.x-2.x, moving to 8.x-2.x to check this is ok there.
Comment #6
aspilicious commentedI copied that part so this is probably broken.
Will fix this when I have time.
It's strange the interface isn't broken on jquery 2.0
Comment #7
voodoodan245730 commentedI have the exact same problem after updating..Will try the patch now
Comment #8
swentel commentedupdating title since people have a hard time find this one :)
Comment #9
swentel commentedThis is now in the 7.x-2.6 release, see https://drupal.org/node/2081631
Comment #10
aspilicious commentedThis gets only triggered when token is enabled. There is no token for 8.x yet :D
Thats why I didn't notice it.
Comment #11
swentel commentedI'm just going to verify for sure :)
Comment #12
aspilicious commentedVerified this is fixed
Comment #13
aspilicious commentedComment #14
hansfn commentedI'm opening this again since the problem is still present with DS 7.x-2.6 if you select version 1.8 (instead of 1.7) in the jQuery Update settings. I accept that you might not fix this, but a warning on the project page would be nice. I spent some time tracking it down - to this issue ...
Comment #15
aspilicious commentedWe can't put everything on pur project page. If you're upgrading jquery in the drupal *backend* you're surely asking for problems. Frontend should be ok.