Closed (works as designed)
Project:
DraggableViews
Version:
7.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Mar 2011 at 12:00 UTC
Updated:
21 Jul 2011 at 21:11 UTC
My draggable view wont drag. If I change the order using the number inputs and save it works fine. However when I try and drag an entry the row is highlighted yellow but I cant actually move it up or down.
Thanks
Comments
Comment #1
jdln commentedNo idea why, but ticking the box for 'Show input fields?' has fixed this for me.
Comment #3
xarbot commentedMe too, but in this case the input fields ordre are rendered and i don't wan't it :(
Xarbot
Comment #4
jdln commentedComment #5
hagit commentedI have the same problem... any help will be appreciated..
Comment #6
charlie-s commentedWhat version of jQuery are you all using? Are you using jQuery Update / 1.4 / ?
Comment #7
xarbot commentedYes i'm using this jquery update module
http://ftp.drupal.org/files/projects/jquery_update-6.x-2.0-alpha1.tar.gz
and jQuery UI 6.x-1.4
Thanks in advanced
Xarbot
Comment #8
charlie-s commentedWell that's your issue. 1.4 breaks the version of TableDrag that Drupal uses. You can check out threads like this: http://drupal.org/node/893538 to point you in the right direction, but are you positive you need 1.4? I've found that 1.3 provides me with most of the newer functions that I need (and that my other libraries depend on) without breaking core jQuery functionality.
Edit: jQuery UI 1.4 or jQuery 1.4? I can't even find a download link for UI older than 1.7.
Comment #9
xarbot commentedJquery UI 1.4 module and JQuery 1.6
so i need to put JQuery 1.4 instead of JQuery 1.6?
Thanks in advanced
Xarbot
Comment #10
charlie-s commentedI believe your numbers are backwards, there is no jQuery 1.6... yet.
The latest version of jQuery is 1.5.2, the latest version of jQuery UI is 1.8.11. You are more likely using jQuery 1.4 and jQuery UI 1.6. You should revert to jQuery 1.3 (just download the jQuery update module here: http://ftp.drupal.org/files/projects/jquery_update-6.x-2.0-alpha1.tar.gz -- do not alter it, do not add a "different" version of jQuery, just install this module).
Edit: I think you're confusing the Drupal module versions with the jQuery library versions -- don't worry about mentioning the module versions here; in this conversation we are concerned only with the versions of the jQuery libraries.
Comment #11
xarbot commentedI installed it because i see in another thread that has some problems with the latest version of JQuery, so i put it but the problem continues.
Thanks in advanced
Xarbot
Comment #12
syngi commentedYou probably get the following javascript error :
Which you can solve by replacing line 133 in tabledrag.js
if (cell[0].colSpan > 1) {with
if (typeof cell == "undefined" && cell[0].colSpan > 1) {Comment #13
vali hutchison commentedI had a similar issue and the fix in #12 worked for me using Drupal 7, Views 3 and jQuery 1.4.4.
Would be great though if the module could be tweaked to avoid having to hack the core.
Comment #14
ygerasimov commentedThis module only uses script tabledrag.js. So if draggable functionality got broken we are not much able to fix it in the module as it is core functionality.
Please also check other places where there is draggable table. For example taxonomy terms list etc. Please reopen the ticket if on views functionality is broken but on other places it works.
Thanks.