Drupal.ajax is not a constructor
nodejs/nodejs_ajax/nodejs_ajax.js?m92at0
Line 9

line 9 is: [Break On This Error] Drupal.nodejs_ajax = new Drupal.ajax...js_ajax', element, element_settings);

I get this in firebug

Comments

julien’s picture

Can you give more details on how to reproduce the bug? like your drupal core version, jquery version etc? thanks.

SocialNicheGuru’s picture

Issue summary: View changes

Drupal 7.28
jquery_update 7.2.x enabled
jquery 1.7.1

I have not enabled this module until recently thinking that I could use it for all Drupal ajax.

I am not sure why Drupal.ajax is not defined here. Actually how can I check if nodejs_ajax_init adds it to the page.

I tested with all aggregation off.

SocialNicheGuru’s picture

Status: Active » Closed (works as designed)

AARRRGGHHHH.

I applied a patch in the queue to not include nodejs on certain pages namely admin/.

Those were the pages that I had problems with. So sorry.

Also note for the future that once the patch makes it into nodejs all the nodejs submodules should check to see if nodejs.js is included first.

SocialNicheGuru’s picture

Status: Closed (works as designed) » Active

Hmmmm....
I removed the patch and I am still getting this error.
It is only happening on node/edit or node/add pages