From 4c9db3856aff65123864a56088f89b9121c90ef9 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Wed, 2 Feb 2022 15:15:58 +0000 Subject: [PATCH] Bug 27750: Remove jquery.cookie.js plugin This patch removes references to the jquery.cookie.js plugin which is now unused, replaced by js-cookie. Signed-off-by: Jonathan Druart Signed-off-by: Fridolin Somers --- .../intranet-tmpl/lib/jquery/plugins/jquery.cookie.min.js | 1 - koha-tmpl/intranet-tmpl/prog/en/includes/js_includes.inc | 1 - koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 3 --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline-mf.tt | 1 - 4 files changed, 6 deletions(-) delete mode 100644 koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.cookie.min.js diff --git a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.cookie.min.js b/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.cookie.min.js deleted file mode 100644 index 2ec98c020c..0000000000 --- a/koha-tmpl/intranet-tmpl/lib/jquery/plugins/jquery.cookie.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else{e(jQuery)}})(function(e){function n(e){return u.raw?e:encodeURIComponent(e)}function r(e){return u.raw?e:decodeURIComponent(e)}function i(e){return n(u.json?JSON.stringify(e):String(e))}function s(e){if(e.indexOf('"')===0){e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\")}try{e=decodeURIComponent(e.replace(t," "))}catch(n){return}try{return u.json?JSON.parse(e):e}catch(n){}}function o(t,n){var r=u.raw?t:s(t);return e.isFunction(n)?n(r):r}var t=/\+/g;var u=e.cookie=function(t,s,a){if(s!==undefined&&!e.isFunction(s)){a=e.extend({},u.defaults,a);if(typeof a.expires==="number"){var f=a.expires,l=a.expires=new Date;l.setDate(l.getDate()+f)}return document.cookie=[n(t),"=",i(s),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}var c=t?undefined:{};var h=document.cookie?document.cookie.split("; "):[];for(var p=0,d=h.length;pVerovio

Verovio is developed by the Swiss RISM Office with the support of the Swiss National Science Foundation, licensed under the LGPL v3.0.

-

jquery.cookie

-

jquery.cookie by Klaus Hartl is a jQuery plugin for setting, reading, and deleting browser cookies, licensed under the MIT license.

-

JavaScript Cookie

JavaScript Cookie is a "simple, lightweight JavaScript API for handling cookies," licensed under the MIT license.

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline-mf.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline-mf.tt index 6bd4070125..12dfa5f39c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline-mf.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline-mf.tt @@ -11,7 +11,6 @@ CACHE: [% interface | html %]/lib/jquery/jquery-ui-1.13.1.min.js [% interface | html %]/lib/jquery/jquery-3.6.0.min.js [% interface | html %]/lib/jquery/jquery-migrate-3.3.2.min.js -[% interface | html %]/lib/jquery/plugins/jquery.cookie.min.js [% interface | html %]/lib/jquery/plugins/jquery.highlight-3.js [% interface | html %]/lib/shortcut/shortcut.js [% interface | html %]/lib/jquery/plugins/jquery.indexeddb.js -- 2.39.5