From 7c163edb63fcdccc7b232b3b24fe398a363d00a7 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Thu, 16 Oct 2014 12:01:17 +0200 Subject: New theme Estate --- pyload/webui/themes/flat/js/static/mootools-core.js | 4 ++-- pyload/webui/themes/flat/js/static/mootools-more.js | 2 +- pyload/webui/themes/flat/js/static/tinytab.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'pyload/webui/themes/flat/js') diff --git a/pyload/webui/themes/flat/js/static/mootools-core.js b/pyload/webui/themes/flat/js/static/mootools-core.js index db83850fd..e73f1df1e 100644 --- a/pyload/webui/themes/flat/js/static/mootools-core.js +++ b/pyload/webui/themes/flat/js/static/mootools-core.js @@ -5732,8 +5732,8 @@ JSON.secure = true; JSON.decode = function(string, secure){ if (!string || typeOf(string) != 'string') return null; - - if (secure == null) secure = JSON.secure; + + if (secure == null) secure = JSON.secure; if (secure){ if (JSON.parse) return JSON.parse(string); if (!JSON.validate(string)) throw new Error('JSON could not decode the input; security is enabled and the value is not secure.'); diff --git a/pyload/webui/themes/flat/js/static/mootools-more.js b/pyload/webui/themes/flat/js/static/mootools-more.js index c7f4a1a0e..160b7234e 100644 --- a/pyload/webui/themes/flat/js/static/mootools-more.js +++ b/pyload/webui/themes/flat/js/static/mootools-more.js @@ -2491,7 +2491,7 @@ var Sortables = new Class({ return list; }, this)); }, - + getDroppableCoordinates: function (element){ var offsetParent = element.getOffsetParent(); var position = element.getPosition(offsetParent); diff --git a/pyload/webui/themes/flat/js/static/tinytab.js b/pyload/webui/themes/flat/js/static/tinytab.js index de50279fc..3273451fe 100644 --- a/pyload/webui/themes/flat/js/static/tinytab.js +++ b/pyload/webui/themes/flat/js/static/tinytab.js @@ -21,7 +21,7 @@ provides: TinyTab this.tabs = tabs; this.contents = contents; if(!opt) opt = {}; - this.css = opt.selectedClass || 'selected'; + this.css = opt.selectedClass || 'selected'; this.select(this.tabs[0]); tabs.each(function(el){ el.addEvent('click',function(e){ -- cgit v1.2.3