cBB Chat v1.1.2 - JavaScript Error


no_avatar
Miras4207
 
Posts: 3
Joined: Sat Jan 28, 2017 9:35 pm
 Thu Mar 23, 2017 3:09 pm • via Web
Hey there,
I`ve recently came across the issue with cBB Chat v1.1.2.

I can see the chat, I can write and read and it looks good. The only issue is that I am getting a JavaScript error when trying to click any of #chat-toolbar buttons (for example BB Code insertion, connect or color).

The error I am suffering from is:
Code: Select all
Uncaught Error: Syntax error, unrecognized expression: #!showbox/color in jquery.min.js?assets_version=14:2
    at Function.db.error (jquery.min.js?assets_version=14:2)
    at ob (jquery.min.js?assets_version=14:2)
    at xb (jquery.min.js?assets_version=14:2)
    at Function.db [as find] (jquery.min.js?assets_version=14:2)
    at n.fn.init.find (jquery.min.js?assets_version=14:2)
    at n.fn.init (jquery.min.js?assets_version=14:2)
    at n (jquery.min.js?assets_version=14:2)
    at HTMLAnchorElement.<anonymous> (comboot.js:217)
    at HTMLAnchorElement.dispatch (jquery.min.js?assets_version=14:3)
    at HTMLAnchorElement.r.handle (jquery.min.js?assets_version=14:3)
db.error @ jquery.min.js?assets_version=14:2
ob @ jquery.min.js?assets_version=14:2
xb @ jquery.min.js?assets_version=14:2
db @ jquery.min.js?assets_version=14:2
find @ jquery.min.js?assets_version=14:2
n.fn.init @ jquery.min.js?assets_version=14:2
n @ jquery.min.js?assets_version=14:2
(anonymous) @ comboot.js:217
dispatch @ jquery.min.js?assets_version=14:3
r.handle @ jquery.min.js?assets_version=14:3


I am using ComBoot 3.2 theme, it does not work there. It worked before in ComBoot 3.1 theme. I am trying to fix this, can you please give me a hand?

new.ets-clan.co.uk
Extra modules installed: portalBB
Paid apache service.
User avatar
IvanPF
Administrator
 
Posts: 2028
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Thu Mar 23, 2017 4:03 pm • via Web
Hi,

Please, send me the style that cause the problem to test with it.
no_avatar
Miras4207
 
Posts: 3
Joined: Sat Jan 28, 2017 9:35 pm
 Thu Mar 23, 2017 5:38 pm • via Web
I have sent it by email.
no_avatar
Miras4207
 
Posts: 3
Joined: Sat Jan 28, 2017 9:35 pm
 Fri Mar 24, 2017 6:11 pm • via Web
The problem must be that hash-bang notation fails for some reason. What are requirments for JavaScript in your app? Do you need any special lib or is there anything you think it might collide with?
User avatar
IvanPF
Administrator
 
Posts: 2028
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Fri Mar 24, 2017 8:50 pm • via Web
I check your style as soon as possible.
The chat not requiere any special Javascript api, only the basic jQuery but, if other code try to set an event listener to all elements in the page (including the chat) it can cause an incompatibility.

Who is online

Users browsing this forum: No registered users and 0 guests