mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
Merge remote-tracking branch 'origin/support/3.0' into develop
# Conflicts: # templates/pages/backoffice/webpage/layout.html.twig
This commit is contained in:
@@ -89,11 +89,11 @@ $(function () {
|
||||
aOptions = $.extend(aOptions, JSON.parse(data));
|
||||
if (aOptions.js_files) {
|
||||
$.each(aOptions.js_files, function (i, item) {
|
||||
if ($.inArray(item, aListJsFiles) === -1)
|
||||
if ($.inArray(item, aLoadedJsFilesRegister) === -1)
|
||||
{
|
||||
sFileUrl = CombodoGlobalToolbox.AddParameterToUrl(item, aOptions.js_files_param, aOptions.js_files_value);
|
||||
$.ajax({url:sFileUrl, dataType: 'script', cache: true });
|
||||
aListJsFiles.push(item);
|
||||
aLoadedJsFilesRegister.push(item);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user