Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
javascript
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Aug 2009 at 18:02 UTC
Updated:
24 Jun 2010 at 18:40 UTC
When prototype.js is included in a webpage, tabledrag is not functioning properly when the items in the table are dragged. When an element is dragged its not sticking to the new location and producing the following error:
$(this.element)[directions[d]] is not a function
[Break on this error] var checkRow = $(this.element)[directions[d]]();\n tabledra...251035687 (line 1007)
This may not be relevant to the core drupal project which already ships with jQuery framework. But by seeing that there are lot of changes made to the core JavaScript files to facilitate the inclusion of other JavaScript frameworks, it would be good to address this issue.
Comments
Comment #1
julien commentedhttp://docs.jquery.com/Using_jQuery_with_Other_Libraries
Comment #2
casey commentedsatynos were you testing with just prototype.js, or did you have prototype plugins or something like that enabled?
Comment #3
roborn commentedThis is fixed per #5 in #800968: tabledrag.js should not use for...in to iterate over an array