Commit 77f81d48 authored by Mikaël Salson's avatar Mikaël Salson

js/app.js: Load extra scripts depending on the administrator

Fix #3929
parent ce69f30b
Pipeline #82346 passed with stages
in 6 minutes and 20 seconds
......@@ -85,6 +85,9 @@ function loadAfterConf() {
}else{
main();
}
if (typeof config.addons !== "undefined") {
require(config.addons);
}
})
})
},
......
......@@ -53,6 +53,9 @@ var config = {
/* Do we have access to a CloneDB ? */
"clonedb": false,
/* Load extra scripts */
/* "addons" : ["js/lib/important-lib.js", "js/myscript.js"], */
/****************
* Tips of the day
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment