I'm getting the following error with both modalframe_example and NodeRelationships popups:

TypeError: Result of expression 'c.Event' [undefined] is not a function.
sites/all/modules/contrib/jquery_ui/jquery.ui/ui/minified/ui.core.min.js?Q

The JS on the examples page fails with the above error so the links work as normal, while on NodeRelationships popups the initial empty modal dialog box just sits there with the spinner but does nothing.

I'm going to see if there's another module conflicting with NodeRelationships or jQuery_UI 1.7 and will report back.

Comments

damienmckenna’s picture

I disabled the following modules to no effect:

  • nodereference_explorer
  • nodereference_field
  • nodereference_url
  • nodereference_autocreate
  • multi_node_edit
  • multi_node_edit_reference
  • ahah_response
  • flexifield
damienmckenna’s picture

Status: Active » Closed (fixed)

FYI I replaced the minified ui.core.min.js file with original ui.core.js file so I could find out that the error happens on line 349:

event = $.Event(event);

Looking at this some more, it seems I forgot to update jQuery_Update to 6.x-2.x.

Once I updated the problems went away. Yay!

vinoth.3v’s picture

Status: Closed (fixed) » Needs review

I have
jQuery_Update to 6.x-2.x
jquery.ui 1.7.3

but still having the same error. and getting main page content replaced by iframe content.

markus_petrux’s picture

Status: Needs review » Closed (fixed)

Re: "getting main page content replaced by iframe content"

Sorry, I do not see how can this be related to the javascript error reported in this issue. Please, open a separate issue. Thanks

PS: Make sure the correct versions of the required modules and libraries are properly installed, also be sure to clear caches so that the correct versions of all pieces are loaded.

vinoth.3v’s picture

@markus_petrux:
never mind, someone was included jquery 1.2 with their custom module.
It is working now. Thanks