diff options
author | Simon Rettberg | 2019-07-17 13:47:32 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-17 13:47:32 +0200 |
commit | 1ddca0a87086a40a3ae41592fb58372fc15a4ce4 (patch) | |
tree | 5088eab81c9692af0c099550c1f51c8a9d6be5d8 /modules-available/roomplanner/templates/footer.html | |
parent | [locationinfo] Add ability to select the start day of the calendar (diff) | |
download | slx-admin-1ddca0a87086a40a3ae41592fb58372fc15a4ce4.tar.gz slx-admin-1ddca0a87086a40a3ae41592fb58372fc15a4ce4.tar.xz slx-admin-1ddca0a87086a40a3ae41592fb58372fc15a4ce4.zip |
[roomplanner] Use .cachedScript() from slx-fixes
Diffstat (limited to 'modules-available/roomplanner/templates/footer.html')
-rw-r--r-- | modules-available/roomplanner/templates/footer.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/modules-available/roomplanner/templates/footer.html b/modules-available/roomplanner/templates/footer.html index 3294d5ee..b4e0d028 100644 --- a/modules-available/roomplanner/templates/footer.html +++ b/modules-available/roomplanner/templates/footer.html @@ -28,14 +28,14 @@ document.addEventListener("DOMContentLoaded", function () { roomConfiguration = {{{roomConfiguration}}}; $.when( - $.getScript("modules/roomplanner/js/lib/jquery-collision.js"), - $.getScript("modules/roomplanner/js/lib/jquery-ui-draggable-collision.js"), - $.getScript("modules/roomplanner/js/grid.js"), + $.cachedScript("modules/roomplanner/js/lib/jquery-collision.js"), + $.cachedScript("modules/roomplanner/js/lib/jquery-ui-draggable-collision.js"), + $.cachedScript("modules/roomplanner/js/grid.js"), $.Deferred(function( deferred ){ $( deferred.resolve ); }) ).done(function() { - $.getScript("modules/roomplanner/js/init.js", function() { + $.cachedScript("modules/roomplanner/js/init.js", function() { initRoomplanner(); loadRoom(); }); |