diff --git a/CHANGES.md b/CHANGES.md index 1df055b6..98a812cb 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -30,6 +30,7 @@ * Update Bootstrap Hover Dropdown 2.0.11 to 2.2.1 * Update jquery.cookie 1.0 (21349d9) to JS-Cookie 2.1.3 (c1aa987) * Update jquery.cookiejar 1.0.1 to 1.0.2 +* Update jQuery JSON 2.2 (c908771) to 2.6 (2339804) [develop changelog] diff --git a/gui/slick/interfaces/default/inc_top.tmpl b/gui/slick/interfaces/default/inc_top.tmpl index 8308fd11..6182c8f7 100644 --- a/gui/slick/interfaces/default/inc_top.tmpl +++ b/gui/slick/interfaces/default/inc_top.tmpl @@ -52,9 +52,9 @@ + - diff --git a/gui/slick/js/lib/jquery.json-2.2.min.js b/gui/slick/js/lib/jquery.json-2.2.min.js deleted file mode 100644 index bad4a0af..00000000 --- a/gui/slick/js/lib/jquery.json-2.2.min.js +++ /dev/null @@ -1,31 +0,0 @@ - -(function($){$.toJSON=function(o) -{if(typeof(JSON)=='object'&&JSON.stringify) -return JSON.stringify(o);var type=typeof(o);if(o===null) -return"null";if(type=="undefined") -return undefined;if(type=="number"||type=="boolean") -return o+"";if(type=="string") -return $.quoteString(o);if(type=='object') -{if(typeof o.toJSON=="function") -return $.toJSON(o.toJSON());if(o.constructor===Date) -{var month=o.getUTCMonth()+1;if(month<10)month='0'+month;var day=o.getUTCDate();if(day<10)day='0'+day;var year=o.getUTCFullYear();var hours=o.getUTCHours();if(hours<10)hours='0'+hours;var minutes=o.getUTCMinutes();if(minutes<10)minutes='0'+minutes;var seconds=o.getUTCSeconds();if(seconds<10)seconds='0'+seconds;var milli=o.getUTCMilliseconds();if(milli<100)milli='0'+milli;if(milli<10)milli='0'+milli;return'"'+year+'-'+month+'-'+day+'T'+ -hours+':'+minutes+':'+seconds+'.'+milli+'Z"';} -if(o.constructor===Array) -{var ret=[];for(var i=0;i