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.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | drupalchat-fix-option-dajs-1314492-2.patch | 747 bytes | carnau |
| #1 | drupalchat-fix-option-dajs-1314492-#2.patch | 747 bytes | carnau |
Comments
Comment #1
carnau commentedPatch provided.
Comment #2
carnau commentedBad name in last patch, new renamed patch provided.
Comment #3
darklrd commentedThanks a lot! :)
Committed: http://drupalcode.org/project/drupalchat.git/commit/4775c25.