Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After Upgrade 6.x-1.x-dev to 6.x-2.x drag and drop in Views doesn't work properly (jquery.js file)
Step to reproduce:
1. Edit some View with some Filters.
2. Click on Rearrange Filters.
3. Try to move some items, items are jumping.
Comments
Comment #1
RobLoachThe fix was done by Quicksketch here in the Drupal 7 update: #350275: Update to jQuery 1.3.2..... http://drupal.org/node/350275#comment-1307414
To be precise with what's going on is that if you drag an item carefully around, you can have it disappear.
Comment #2
attheshow CreditAttribution: attheshow commentedI'm using 6.x-2.x-dev (Apr 23), and it looks like the above change is actually implemented in the module's version of tabledrag. But I'm still getting the crazy jumping when I'm trying to drag and drop my views fields, filters, etc. Any suggestions?
Comment #3
kenorb CreditAttribution: kenorb commentedYes, I can confirm that.
I've applied changes to jquery_update\replace\tabledrag.js and still there is a problem.
Comment #4
Flying Drupalist CreditAttribution: Flying Drupalist commentedWhat about this one here: #452376: jQuery 1.3.x (Problem replacing modified version of tabledrag.js)
Comment #5
TCRobbert CreditAttribution: TCRobbert commentedCan confirm I noticed the same bug. I did figure out how to move them for the time being. Which is the following:
- Drag item like you would do normally (yes with the jumping around)
- Drag it till you are sure you can see it and it is at the correct place
- at this moment click twice to let go of the item and it stays in the spot
Its note very convenient, but heck, while developing you'll do anything to keep going :P
Comment #6
Vacilando CreditAttribution: Vacilando commentedSubscribing
Comment #7
mr.andrey CreditAttribution: mr.andrey commentedsubscribing
Comment #8
rbishop CreditAttribution: rbishop commentedi was having the problem on the admin block draggable table but NOT on the CCK admin draggabletables with jquery 1.3.2.
i could not figure out why but for now im able to use specific jquery 1.2.6 when dragging tables. the shaking/flickering/missing row problem does not happen with that version of jquery.
Comment #9
JayNL CreditAttribution: JayNL commentedOld, but still SO true. Upgraded to jQuery latest (1.4.x) and all went haywire. Downgraded to jQuery 1.2.6 and dragging/dropping works great again. Thanks.
Comment #10
__mark CreditAttribution: __mark commentedConsole is showing this error each time a table row disappears while being dragged:
Update: This bug has reared it's ugly head again, and chrome seems to have a more detailed console than firebug, as this is the error that comes up:
Comment #11
operations CreditAttribution: operations commentedBook and Outline designer module with jquery update 1.3.2:
I upgraded to jquery 1.3.2 because I needed to use Jquery UI 1.7 , before updating the admin book page was working well , but now the dragging became annoying and needs 1 more click after releasing the mouse to save the draggable items weight via Ajax. In addition, the firebug console is displaying an error as follow:
uncaught exception: Syntax error, unrecognized expression:
My quick investigation led me to noticing that outline designer module overrides the:
Drupal.tableDrag.prototype.onDrop function as it use it to save the weight via ajax.
Any patches or solutions would be appreciated.
Thanks,
Comment #12
juliaset CreditAttribution: juliaset commentedSubscribing
Comment #13
vomitHatSteve CreditAttribution: vomitHatSteve commentedSubscribing.
I'm observing the behavior outlined in #10 using jquery 1.3.2
Comment #14
DamienMcKennaI'm getting the following error:
TypeError: Result of expression '$(this.element)[directions[d]]' [undefined] is not a function.
This is with Drupal 6.20, CCK 6.x-2.9 and the latest jquery_update code.
Comment #15
DamienMcKennaFYI I also uninstalled jquery_update and am STILL seeing this problem, so it isn't jquery_update at fault. FYI the only JS that is being loaded is:
FYI that's CCK 6.x-3.x-dev from today and I'm on admin/content/node-type/[content_type]/fields.
Comment #16
DamienMcKennaOk, weirder & weirder. After rooting through my site to see what other JS was loading on that page, it turned out that some affiliate code from thefind.com was causing the problem, specifically this file: http://upfront.thefind.com/scripts/main/utils-init-ajaxlib/upfront-badge...
Go figure.
So if you are experiencing this problem you should check to see if any other obscure JS is loading on the page.
Comment #17
sebas5384 CreditAttribution: sebas5384 commentedSubscribing!
Comment #18
kentr CreditAttribution: kentr commentedPossible duplicate of #893538: Tabledrag.js and jQuery 1.4.2, where there's a patch on tabledrag.js to work with jQuery 1.4.2.
Comment #19
Viliasas CreditAttribution: Viliasas commentedFound a fix for Drupal 6 and jQuery 1.3.2 - here. It seems to be working, maybe someone else could take a look at it.
Comment #20
markhalliwellDrupal 6 reached EOL (end-of-life) on February 24, 2016.