Noderelationships work as promised with drupal 6 default jquery (v1.2) but with 1.3 searchAndReferance and createAndReference dialogs fail to open, and the following js error are displayed in firebug's console:-
1) c.widget is not a function
[drupal_home]sites/all/modules/contrib/jquery_ui/jquery.ui/ui/minified/ui.dialog.min.js?8
Line 15
2) a.widget is not a function
[drupal_home]sites/all/modules/contrib/jquery_ui/jquery.ui/ui/minified/ui.draggable.min.js?8
Line 13
3) self.iframe.$container.dialog is not a function
[drupal_home]sites/all/modules/contrib/modalframe/js/parent.js?8
Line 141

Here are module versions:-
Noderelationships 6.x-1.x-dev
Modalframe 6.x-1.3 or 6.x-1.x-dev
Jquery_ui 6.x-1.3 or 6.x-1.x-dev
jquery_update 6.x-2.x-dev

Thanks in advance.

Comments

markus_petrux’s picture

Category: bug » support
Status: Active » Fixed

This error is happening inside jQuery library. so it looks like there is a compatibility problem here.

Please, make sure your jQuery UI version is compatible with jQuery 1.3.x.

smoothify’s picture

I was running into a similar situation myself, I updated jquery and jquery.ui to the latest versions but still got the error.

In the end I managed to solve it by systematically disabling other modules - the cause in the end was an outdated tabs module which was using its own old version of jQuery UI. Upgrading tabs to the dev version fixed it completely as it now uses jquery_ui module instead of its own.

Also, as Markus says,if using jquery_update (and jquery 1.3.x) then make sure you are using the latest 1.7 jquery ui version

markus_petrux’s picture

@smoothify: Thanks for pointing this out.

I have updated the project page to include a bit more information about jQuery UI versions and its relations to jQuery itself.

stoltoguzzi’s picture

@smoothify:
Thank you, had the same using the tabs module, now using the dev-version it is ok!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.