Error in ccm.app.js if C5 toolbar not loaded4 users found helpful
Just upgraded to version 188.8.131.52 yesterday, and noticed that the login box dialog no longer works. Firebug reports this error:
TypeError: $("#ccm-page-help").popover is not a function ccm.app.js, line 9
I'm thinking this is because when I'm not logged into the C5 site, there's no C5 toolbar and hence no "Help" link at the top. ccm.app.js is just assuming that it's there...
It would be nice if the next update fixes this issue, so C5's jQuery dialog can be used in theme even if visitors are not logged in.
See attachment for a new ccm.app.js file.
If so, anything that uses bootstrap.js or ccm.app.js facilities that use bootstrap.js code will need to load it separately.
fixed my problem. Awesome!
Uncaught TypeError: Object [object Object] has no method 'popover'
This would only show up when not signed in as an administrator. Loading /concrete/js/bootstrap.js cleared up the issue, but seems strange since the site isn't using anything bootstrapy. However, I've updated about a dozen or so sites to 184.108.40.206 without the same issue.
Thanks again for pointing me in the right direction.
SCRIPT438: Object doesn't support property or method 'popover'
ccm.app.js?v=e29b3ccdd6ac0550cc41f1f2477b3471, line 9 character 15276
Adding bootstrap.js to the controller for those pages fixed the problem, but seems I shouldn't really need to do that? I've not added anything that strange or bootstrap-related to profiles, and the edit page just has form fields (one being a simple rich text field).
Thanks for the fix though!
I'm on Concrete 220.127.116.11 and only got the error when logged in.