Hello. Drag and drop functionality of asset_widget is not working if I use jquery_update on my project. Please solve this problem.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

shortspoken’s picture

+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

agalitsyn’s picture

Status: Active » Fixed
FileSize
873 bytes

Apply this patch for fix

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ergophobe’s picture

Why 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.

ergophobe’s picture

I'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.

ergophobe’s picture

Issue summary: View changes
Status: Closed (fixed) » Reviewed & tested by the community

Changed status and added comment to issue summary about which versions of Jquery are compatible

ergophobe’s picture

Issue summary: View changes
ergophobe’s picture

deleted - see below

ergophobe’s picture

Status: Reviewed & tested by the community » Needs work
ergophobe’s picture

First 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....

gmclelland’s picture

Status: Needs work » Reviewed & tested by the community

Setting this back to RBTC based on the comment in #10

Samvel’s picture

Hi guys,

Now i can't repeat problem, please provide more info. Is it still actual?

IRuslan’s picture

Status: Reviewed & tested by the community » Postponed (maintainer needs more info)