Drag handles not working in combination with node reference

seehawk - June 3, 2009 - 14:23
Project:Node Gallery
Version:6.x-2.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:fixed
Description

On the Edit Images page (reached from the menu at the top of the main gallery page), the drag handles are not working, and the images cannot be re-ordered.

In fact, it appears that javascript isn't working on this page at all. I have a node reference field attached to the Gallery Image content type that is supposed to dynamically suggest values, but doesn't work on this page either.

#1

seehawk - June 3, 2009 - 14:38

Some addition info: this is an issue in both Firefox and IE.

#2

dddave - June 5, 2009 - 14:54
Title:Drag handles not working» Drag handles not working
Priority:critical» normal

No problem here. Reordering works just fine.
Disturbing is the fact that after hitting the save button I get again to the Upload bar telling me that the images are uploading which would be unneccessary, wouldn't it?

The reordering should take place on the server without a new upload. Is this just a user interface problem?

edit: opened a new issue for this #483046: Edit Images Optimization

#3

seehawk - June 5, 2009 - 14:51

I went back and looked at it again. On further review, the issue is only occurring when I have a multi-value node reference field showing on the edit images page. That field has drag handles as well, so something about the combination of the two is preventing either set of handles from working.

Once the node reference field is removed, everything works normally. But, I'd like to have that node reference field available for cross-posting of images.

#4

dddave - June 5, 2009 - 14:55
Title: Drag handles not working» Drag handles not working in combination with node reference

#5

wilson98 - June 6, 2009 - 10:56

the drag handle implementation in edit images form is a bad hack currently, i still don't figure it out a better way to implement it, sorry.

#6

seehawk - June 9, 2009 - 20:00
Version:6.x-2.0-alpha1» 6.x-2.0-alpha7

I'm not sure what you mean.

#7

seehawk - July 4, 2009 - 03:21
Version:6.x-2.0-alpha7» 6.x-2.0-alpha10

Looks like some great progress has been made on this front! However, the behavior is now that the drag handles appear on the node reference fields for the first image in the list, and all other node reference fields get the "Order" column.

Apart from that, reordering of node reference fields within a single image and reordering of the images themselves works fine.

#8

kmonty - October 10, 2009 - 00:28
Version:6.x-2.0-alpha10» 6.x-2.x-dev

Is anyone still encountering this problem? Is anyone using jQuery update? jQuery update breaks the drag handles in other modules as well

#9

dbeall - October 10, 2009 - 04:51

I had issues with jQuery update and stopped using it many months ago. probably the reason I have not had node gallery problems using it.

#10

kmonty - November 8, 2009 - 23:47
Status:active» fixed

Marking this as fixed (via alpha 7-10) as there has not been further complaints about this. I have not have a problem with reordering nodes with nodereference fields. Please reopen if the issue arrises again for you.

 
 

Drupal is a registered trademark of Dries Buytaert.