Active
Project:
Node Relationships
Version:
6.x-1.6
Component:
Javascript
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Oct 2010 at 13:03 UTC
Updated:
13 Dec 2011 at 08:12 UTC
Jump to comment: Most recent file
Comments
Comment #1
markus_petrux commentedAs of yet there is no official/stable method to make Drupal work with jQuery 1.4. That is why there is no official support for new jQuery stuff here. Related issue to follow: #685060: Get ready for 1.4
We could review patches here, if there's anything that needs adjustements to make this module work with JQuery 1.4.x and JQuery UI 1.8.x... anyone tried this combination of libraries?
Comment #2
travist commentedWe just upgraded to jQuery and noticed that this module does in fact break, but most of the problems that I found thus far are just the references to className as an attribute within jQuery, such as the following code.
Newer versions of jQuery does not fall back to reference the DOM object, but will simply ignore these. Instead, it expects "class" for the attribute name like so.
The result is that the + buttons do not show up on the controls, which from what I can tell is the only thing broken with upgraded jQuery.
The fix here is to use attr('class') instead of className on the jQuery object.
The following patch should fix at least this part of the issue.
Thanks,
Travis.
Comment #3
markus_petrux commentedOh, thanks!
I have applied a slight variation of your patch:
- http://drupalcode.org/project/noderelationships.git/commitdiff/3b21d52
Maybe it needs more testing to make sure it works with jQuery 1.4.x / jQuery UI 1.8.x ?
Comment #4
markus_petrux commentedhmm... re-opening. There may be more issues here.