Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello. Drag and drop functionality of asset_widget is not working if I use jquery_update on my project. Please solve this problem.
Comment | File | Size | Author |
---|---|---|---|
#2 | asset-7.x-1.x-dev-jquery-update-compatibility-1957800-1.patch | 873 bytes | agalitsyn |
Comments
Comment #1
shortspoken CreditAttribution: shortspoken commented+Subscribing.
If I use jqery_update with Version 1.7, DnD of the asset widget is not working. With jquery 1.5 its working fine.
Possible workaround: use the latest 7.x-2.x-dev -Version of the jquery_update module. You can define an alternate jQuery version for administrative pages there.
Cheers, Moritz
Comment #2
agalitsyn CreditAttribution: agalitsyn commentedApply this patch for fix
Comment #4
ergophobe CreditAttribution: ergophobe commentedWhy is this closed (fixed)? It hasn't been committed yet.
I can confirm that DnD was not working in JQuery 1.7 but was working in 1.5
I applied this patch and it works in Jquery 1.5, 1.7.
Comment #5
ergophobe CreditAttribution: ergophobe commentedI've also verified this patch works with JQuery 1.4.4 and Jquery Update disabled.
So it works with a default Drupal Jquery, and Jquery 1.5 and 1.7 (but not 1.8). Seems like this simple change should get committed.
Comment #6
ergophobe CreditAttribution: ergophobe commentedChanged status and added comment to issue summary about which versions of Jquery are compatible
Comment #7
ergophobe CreditAttribution: ergophobe commentedComment #8
ergophobe CreditAttribution: ergophobe commenteddeleted - see below
Comment #9
ergophobe CreditAttribution: ergophobe commentedComment #10
ergophobe CreditAttribution: ergophobe commentedFirst off, my apologies for all the noise I've added to a thread about a 1-line patch.
So I said it worked with JQuery. 1.4.4, 1.5 and 1.7. Then I said it didn't work with 1.4.4, but then it wasn't working with anything.
It turns out that my partner made a commit that messed up the DOM enough that it broke the parsing and had nothing to do with this, but I didn't notice that.
So anyway, now I have got everything back to normal and can confirm that this patch works with JQuery 1.4.4, 1.5 and 1.7.
Now I'll go back to my hole....
Comment #11
gmclelland CreditAttribution: gmclelland commentedSetting this back to RBTC based on the comment in #10
Comment #12
Samvel CreditAttribution: Samvel commentedHi guys,
Now i can't repeat problem, please provide more info. Is it still actual?
Comment #13
IRuslan CreditAttribution: IRuslan as a volunteer and at DrupalJedi commented