In drupalchat.module file, inside the hook_init function, there is this call to drupal_add_js:

drupal_add_js(array('drupalchat' => $my_settings), array('type' => "setting", 'scope' => JS_DEFAULT));

The JS_DEFAULT refers to a 'group' option instead 'scope' one. This has to be fixed.

Comments

carnau’s picture

Status: Active » Needs review
StatusFileSize
new747 bytes

Patch provided.

carnau’s picture

StatusFileSize
new747 bytes

Bad name in last patch, new renamed patch provided.

darklrd’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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