If you define on

admin/config/nodejs/config

at "Pages on which to enable nodejs" something more specific than "*"
fe. "chat/*"

a javascript Error occurs on all pages where nodejs is not enabled:

nodejs error

Files: 

Comments

slowflyer’s picture

StatusFileSize
new434 bytes

The patch solves the described error.

Gergely Lekli’s picture

Issue summary:View changes
Status:Active» Fixed

The issue has been fixed by #1940470: Conditional call chatroom_add_js(). Hook_init is actually not necessary because the field formatter loads the js files when needed.

Status:Fixed» Closed (fixed)

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