Translation failed: ReferenceError: componentHandler is not defined
-
Hello, I just installed the latest version 1.4.2 and i get this error in the chrome console when i navigate around the admin pages:
Translation failed: ReferenceError: componentHandler is not defined
I tried both UK English and US English as the language.
Also, not sure if this is related or not but when i navigate to category priv section the checkboxes are not visible and i get this:
{function.spawnPrivilegeStates, name, privileges} {function.spawnPrivilegeStates, name, privileges} {function.spawnPrivilegeStates, name, privileges} {function.spawnPrivilegeStates, name, privileges}
Refreshing the page fixes the checkboxes and the above writing.
Thanks,
-
Turns out that my company is blocking the following file from downloading:
https://storage.googleapis.com/code.getmdl.io/1.0.3/material.min.js
When i tried my dev build off my works netork it worked fine.
Is there away to add this file locally so it doesnt have to fetch it from storage.googleapis (which is blocked)?
Thanks
-
@whitts you should call IT and have them unblock that. Anyways, the inclusion of the file is on line 23 of
src/views/admin/header.tpl
. If you change that line from this:<script src="https://storage.googleapis.com/code.getmdl.io/1.0.3/material.min.js"></script>
To this:
<script src="{relative_path}/material.min.js"></script>
And then download the file and store it in
public/
, it will load it from the NodeBB server.