From 34b780bf007239617d372a1923f7d1c3f35bb51e Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Sun, 13 May 2018 01:44:28 +0000 Subject: [PATCH] Bug 20761: Fix some js includes in rancor To test: 1 - Load the advanced cataloging editor 2 - Inspect the network tab in your browser (F12) 3 - Note failure to load 'cataloging_.js' 4 - Note some other scripts don't have versioning 5 - Apply patch 6 - Reload page 7 - Note cataloging.js loads with version number 8 - Note more js files have versioning Signed-off-by: Katrin Fischer Signed-off-by: Chris Cormack Signed-off-by: Nick Clemens Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc | 8 ++++---- .../intranet-tmpl/prog/en/modules/cataloguing/editor.tt | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc index 68a168fab9..2a0e05058a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc @@ -1,7 +1,7 @@ - - - - +[% Asset.js("lib/codemirror/codemirror-compressed.js") %] +[% Asset.js("lib/filesaver.js") %] +[% Asset.js("lib/koha/cateditor/marc-mode.js") %] +[% Asset.js("lib/require.js") %] - +[% Asset.js("js/cataloging.js") %] +[% Asset.js("lib/jquery/plugins/humanmsg.js") %] [% IF ( bidi ) %] [% Asset.css("css/right-to-left.css") %] [% END %] -- 2.39.5