Editorial Calendar - Version 3.7.7

Version Description

This version tweaks the libraries that support the calendar to avoid warnings from the Enable jQuery Migrate Helper plugin.

Download this release

Release Info

Developer zgrossbart
Plugin Icon wp plugin Editorial Calendar
Version 3.7.7
Comparing to
See all releases

Code changes from version 3.7.6 to 3.7.7

edcal.php CHANGED
@@ -18,7 +18,7 @@
18
  /*
19
  Plugin Name: WordPress Editorial Calendar
20
  Description: The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
21
- Version: 3.7.6
22
  Author: Colin Vernon, Justin Evans, Joachim Kudish, Mary Vogt, and Zack Grossbart
23
  Author URI: http://www.zackgrossbart.com
24
  Plugin URI: http://stresslimitdesign.com/editorial-calendar-plugin
18
  /*
19
  Plugin Name: WordPress Editorial Calendar
20
  Description: The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
21
+ Version: 3.7.7
22
  Author: Colin Vernon, Justin Evans, Joachim Kudish, Mary Vogt, and Zack Grossbart
23
  Author URI: http://www.zackgrossbart.com
24
  Plugin URI: http://stresslimitdesign.com/editorial-calendar-plugin
lib/edcallib.min.js CHANGED
@@ -25,10 +25,10 @@ k[2][m]);h=h[k[2][m]]}else h=k[1]?c[k[1]]:c[b++];if(/[^s]/.test(k[8])&&"number"!
25
  break;case "x":h=h.toString(16);break;case "X":h=h.toString(16).toUpperCase()}h=/[def]/.test(k[8])&&k[3]&&0<=h?"+"+h:h;m=k[4]?"0"==k[4]?"0":k[4].charAt(1):" ";var l=k[6]-String(h).length;if(k[6]){for(var q=[];0<l;q[--l]=m);m=q.join("")}else m="";d.push(k[5]?h+m:m+h)}}return d.join("")};f.cache={};f.parse=function(a){for(var c,b=[],e=0;a;){if(null!==(c=/^[^\x25]+/.exec(a)))b.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(a)))b.push("%");else if(null!==(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(a))){if(c[2]){var e=
26
  e|1,d=[],g=c[2],f;if(null!==(f=/^([a-z_][a-z_\d]*)/i.exec(g)))for(d.push(f[1]);""!==(g=g.substring(f[0].length));)if(null!==(f=/^\.([a-z_][a-z_\d]*)/i.exec(g)))d.push(f[1]);else if(null!==(f=/^\[(\d+)\]/.exec(g)))d.push(f[1]);else throw"[sprintf] huh?";else throw"[sprintf] huh?";c[2]=d}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";b.push(c)}else throw"[sprintf] huh?";a=a.substring(c[0].length)}return b};return f}(),vsprintf=function(a,f){f.unshift(a);
27
  return sprintf.apply(null,f)};jQuery.cookie=function(a,f,g){if("undefined"!=typeof f){g=g||{};null===f&&(f="",g.expires=-1);var c="";g.expires&&("number"==typeof g.expires||g.expires.toUTCString)&&("number"==typeof g.expires?(c=new Date,c.setTime(c.getTime()+864E5*g.expires)):c=g.expires,c="; expires="+c.toUTCString());var b=g.path?"; path="+g.path:"",e=g.domain?"; domain="+g.domain:"";g=g.secure?"; secure":"";document.cookie=[a,"=",encodeURIComponent(f),c,b,e,g].join("")}else{f=null;if(document.cookie&&""!=document.cookie)for(g=
28
- document.cookie.split(";"),c=0;c<g.length;c++)if(b=jQuery.trim(g[c]),b.substring(0,a.length+1)==a+"="){f=decodeURIComponent(b.substring(a.length+1));break}return f}};(function(a){a.fn.bgIframe=a.fn.bgiframe=function(f){if(a.browser.msie&&6>=parseInt(a.browser.version)){f=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;"},f||{});var g=function(a){return a&&a.constructor==Number?a+"px":a},c='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+f.src+'"style="display:block;position:absolute;z-index:-1;'+(!1!==f.opacity?"filter:Alpha(Opacity='0');":"")+"top:"+("auto"==f.top?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
29
- g(f.top))+";left:"+("auto"==f.left?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":g(f.left))+";width:"+("auto"==f.width?"expression(this.parentNode.offsetWidth+'px')":g(f.width))+";height:"+("auto"==f.height?"expression(this.parentNode.offsetHeight+'px')":g(f.height))+';"/>';return this.each(function(){0==a("> iframe.bgiframe",this).length&&this.insertBefore(document.createElement(c),this.firstChild)})}return this};a.browser||(a.browser={});a.browser.version||
30
- (a.browser.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1])})(jQuery);(function(a){a.each({focus:"focusin",blur:"focusout"},function(f,g){a.event.special[g]={setup:function(){if(a.browser.msie)return!1;this.addEventListener(f,a.event.special[g].handler,!0)},teardown:function(){if(a.browser.msie)return!1;this.removeEventListener(f,a.event.special[g].handler,!0)},handler:function(c){arguments[0]=a.event.fix(c);arguments[0].type=g;return a.event.handle.apply(this,arguments)}}});a.extend(a.fn,{delegate:function(f,g,c){return this.bind(f,function(b){var e=a(b.target);if(e.is(g))return c.apply(e,
31
- arguments)})},triggerEvent:function(f,g){return this.triggerHandler(f,[a.event.fix({type:f,target:g})])}})})(jQuery);(function(a){function f(c,b){function e(d){var e=a(d);return b.globalNav?e:c.parent().find(d)}var d=this,f=a(this),m=!b.vertical,h=c.children(),k=0,l;g||(g=d);a.each(b,function(d,b){a.isFunction(b)&&f.bind(d,b)});1<h.length&&(h=a(b.items,c));c.data("finder",e);var q=e(b.prev),n=e(b.next),t=e(b.prevPage),p=e(b.nextPage);a.extend(d,{getIndex:function(){return k},getClickIndex:function(){var a=d.getItems();return a.index(a.filter("."+b.activeClass))},getConf:function(){return b},getSize:function(){return d.getItems().size()},
32
  getPageAmount:function(){return Math.ceil(this.getSize()/b.size)},getPageIndex:function(){return Math.ceil(k/b.size)},getNaviButtons:function(){return q.add(n).add(t).add(p)},getRoot:function(){return c},getItemWrap:function(){return h},getItems:function(){return h.children(b.item)},getVisibleItems:function(){return d.getItems().slice(k,k+b.size)},seekTo:function(e,c,r){function x(){r&&r.call(d,e);f.trigger("onSeek",[e])}0>e&&(e=0);if(k===e)return d;a.isFunction(c)&&(r=c);if(e>d.getSize()-b.size)return b.loop?
33
  d.begin():this.end();var u=d.getItems().eq(e);if(!u.length)return d;var l=a.Event("onBeforeSeek");f.trigger(l,[e]);if(l.isDefaultPrevented())return d;if(void 0===c||a.isFunction(c))c=b.speed;m?h.animate({left:-u.position().left},c,b.easing,x):h.animate({top:-u.position().top},c,b.easing,x);g=d;k=e;l=a.Event("onStart");f.trigger(l,[e]);if(l.isDefaultPrevented())return d;q.add(t).toggleClass(b.disabledClass,0===e);n.add(p).toggleClass(b.disabledClass,e>=d.getSize()-b.size);return d},move:function(a,
34
  b,d){l=0<a;return this.seekTo(k+a,b,d)},next:function(a,b){return this.move(1,a,b)},prev:function(a,b){return this.move(-1,a,b)},movePage:function(a,d,e){l=0<a;var c=b.size*a,g=k%b.size;0<g&&(c+=0<a?-g:b.size-g);return this.move(c,d,e)},prevPage:function(a,b){return this.movePage(-1,a,b)},nextPage:function(a,b){return this.movePage(1,a,b)},setPage:function(a,d,e){return this.seekTo(a*b.size,d,e)},begin:function(a,b){l=!1;return this.seekTo(0,a,b)},end:function(a,e){l=!0;var c=this.getSize()-b.size;
@@ -43,19 +43,19 @@ function(){e.pause();f=!0};c.autopause&&e.getRoot().add(e.getNaviButtons()).hove
43
  else{c.empty();c.data("navi",d);for(var b=0;b<d.getPageAmount();b++)c.append(a("<"+(g.naviItem||"a")+"/>"));f=c.children().each(function(b){var e=a(this);e.click(function(a){d.setPage(b);return a.preventDefault()});g.indexed&&e.text(b);g.idPrefix&&e.attr("id",g.idPrefix+b)})}f.eq(0).addClass(g.activeClass)}var d=a(this).scrollable(),c=d.getRoot().data("finder").call(null,g.navi),f=null,h=d.getNaviButtons();d&&(b=d);d.getNaviButtons=function(){return h.add(c)};d.onStart(function(a,b){a=g.activeClass;
44
  f.removeClass(a).eq(d.getPageIndex()).addClass(a)});d.onReload(function(){e()});e();var k=f.filter("[href="+location.hash+"]");k.length&&d.move(f.index(k))});return g.api?b:this}})(jQuery);
45
  (function(a){function f(b){switch(b.type){case "mousemove":return a.extend(b.data,{clientX:b.clientX,clientY:b.clientY,pageX:b.pageX,pageY:b.pageY});case "DOMMouseScroll":a.extend(b,b.data);b.delta=-b.detail/3;break;case "mousewheel":b.delta=b.wheelDelta/120}b.type="wheel";return a.event.handle.call(this,b,b.delta)}a.fn.wheel=function(a){return this[a?"bind":"trigger"]("wheel",a)};a.event.special.wheel={setup:function(){a.event.add(this,g,f,{})},teardown:function(){a.event.remove(this,g,f)}};var g=
46
- a.browser.mozilla?"DOMMouseScroll"+("1.9">a.browser.version?" mousemove":""):"mousewheel",c=a.tools.scrollable;c.plugins=c.plugins||{};c.plugins.mousewheel={version:"1.0.1",conf:{api:!1,speed:50}};a.fn.mousewheel=function(b){var e=a.extend({},c.plugins.mousewheel.conf),d;"number"==typeof b&&(b={speed:b});b=a.extend(e,b);this.each(function(){var e=a(this).scrollable();e&&(d=e);e.getRoot().wheel(function(a,d){e.move(0>d?1:-1,b.speed||50);return!1})});return b.api?d:this}})(jQuery);(function(a){function f(a,b){var e=a.getHours(),d=b.show24Hours?e:(e+11)%12+1;b.show24Hours&&(d=(10>d?"0":"")+d);var c=a.getMinutes();a=b.timeFormat;a=a.replace("hh",d);a=a.replace("h",d);a=a.replace("mm",(10>c?"0":"")+c);return a=b.show24Hours?a.replace(" tt",""):a.replace("tt",12>e?b.amDesignator:b.pmDesignator)}function g(a,d){return"object"==typeof a?b(a):c(a,d)}function c(a,d){if(a){var e=a.split(d.separator),c=parseFloat(e[0]),e=parseFloat(e[1]);d.show24Hours||(12===c&&-1!==a.substr(d.amDesignator)?
47
  c=0:12!==c&&-1!==a.indexOf(d.pmDesignator)&&(c+=12));return b(new Date(0,0,0,c,e,0))}return null}function b(a){a.setFullYear(2001);a.setMonth(0);a.setDate(0);return a}a.fn.timePicker=function(b){var d=a.extend({},a.fn.timePicker.defaults,b);return this.each(function(){a.timePicker(this,d)})};a.timePicker=function(b,d){b=a(b)[0];return b.timePicker||(b.timePicker=new jQuery._timePicker(b,d))};a._timePicker=function(e,d){var r=!1,m=!1,h=g(d.startTime,d),k=g(d.endTime,d);a(e).attr("autocomplete","OFF");
48
  for(var l=[],q=new Date(h);q<=k;)l[l.length]=f(q,d),q=new Date(q.setMinutes(q.getMinutes()+d.step));for(var n=a("<div "+(d.tpDivId?'id="'+d.tpDivId+'" ':"")+'class="time-picker'+(d.show24Hours?"":" time-picker-12hours")+'"></div>'),t=a("<ul></ul>"),q=0;q<l.length;q++)t.append("<li>"+l[q]+"</li>");n.append(t);l=a(e).offset();n.appendTo("body").css({top:l.top-48+"px",left:l.left,width:a(e).width()+5+"px"}).hide();n.mouseover(function(){r=!0}).mouseout(function(){r=!1});a("li",t).mouseover(function(){m||
49
- (a("li.selected",n).removeClass("selected"),a(this).addClass("selected"))}).mousedown(function(){r=!0}).click(function(){e.value=a(this).text();a(e).change();a.browser.msie||e.focus();n.hide();r=!1});var p=function(){if(n.is(":visible"))return!1;a("li",n).removeClass("selected");var g=a(e).offset();n.css({top:g.top+a(e).height()+10+"px",left:g.left,width:a(e).width()+5+"px"});n.show();var m=e.value?c(e.value,d):h,g=60*h.getHours()+h.getMinutes(),m=60*m.getHours()+m.getMinutes()-g,g=b(new Date(0,0,
50
- 0,0,Math.round(m/d.step)*d.step+g,0)),g=h<g&&g<=k?g:h,g=a("li:contains("+f(g,d)+")",n);g.length&&(g.addClass("selected"),n[0].scrollTop=g[0].offsetTop);return!0};a(e).focus(p).click(p);a(e).blur(function(){r||n.hide()});l=a.browser.opera||a.browser.mozilla?"keypress":"keydown";a(e)[l](function(b){m=!0;var d=n[0].scrollTop;switch(b.keyCode){case 38:if(p())return!1;b=a("li.selected",t);var c=b.prev().addClass("selected")[0];c?(b.removeClass("selected"),c.offsetTop<d&&(n[0].scrollTop=d-c.offsetHeight)):
51
- (b.removeClass("selected"),c=a("li:last",t).addClass("selected")[0],n[0].scrollTop=c.offsetTop-c.offsetHeight);return!1;case 40:if(p())return!1;b=a("li.selected",t);(c=b.next().addClass("selected")[0])?(b.removeClass("selected"),c.offsetTop+c.offsetHeight>d+n[0].offsetHeight&&(n[0].scrollTop=d+c.offsetHeight)):(b.removeClass("selected"),a("li:first",t).addClass("selected"),n[0].scrollTop=0);return!1;case 13:return n.is(":visible")&&(d=a("li.selected",t)[0],e.value=a(d).text(),a(e).change(),a.browser.msie||
52
  e.focus(),n.hide()),!1;case 27:return n.hide(),!1}return!0});a(e).keyup(function(a){m=!1});this.getTime=function(){return c(e.value,d)};this.setTime=function(c){e.value=f(b(c),d);a(e).change()}};a.fn.timePicker.defaults={step:30,startTime:new Date(0,0,0,0,0,0),endTime:new Date(0,0,0,23,30,0),separator:":",show24Hours:!0,timeFormat:"hh:mm tt",amDesignator:"AM",pmDesignator:"PM"}})(jQuery);this.JSON||(this.JSON={});
53
  (function(){function a(a){return 10>a?"0"+a:a}function f(a){b.lastIndex=0;return b.test(a)?'"'+a.replace(b,function(a){var b=r[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function g(a,b){var c=e,h=b[a];h&&"object"===typeof h&&"function"===typeof h.toJSON&&(h=h.toJSON(a));"function"===typeof m&&(h=m.call(b,a,h));switch(typeof h){case "string":return f(h);case "number":return isFinite(h)?String(h):"null";case "boolean":case "null":return String(h);case "object":if(!h)return"null";
54
  e+=d;var k=[];if("[object Array]"===Object.prototype.toString.apply(h)){var r=h.length;for(a=0;a<r;a+=1)k[a]=g(a,h)||"null";b=0===k.length?"[]":e?"[\n"+e+k.join(",\n"+e)+"\n"+c+"]":"["+k.join(",")+"]";e=c;return b}if(m&&"object"===typeof m)for(r=m.length,a=0;a<r;a+=1){var p=m[a];"string"===typeof p&&(b=g(p,h))&&k.push(f(p)+(e?": ":":")+b)}else for(p in h)Object.hasOwnProperty.call(h,p)&&(b=g(p,h))&&k.push(f(p)+(e?": ":":")+b);b=0===k.length?"{}":e?"{\n"+e+k.join(",\n"+e)+"\n"+c+"}":"{"+k.join(",")+
55
  "}";e=c;return b}}"function"!==typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(b){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()});var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
56
  b=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,d,r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},m;"function"!==typeof JSON.stringify&&(JSON.stringify=function(a,b,c){var f;d=e="";if("number"===typeof c)for(f=0;f<c;f+=1)d+=" ";else"string"===typeof c&&(d=c);if((m=b)&&"function"!==typeof b&&("object"!==typeof b||"number"!==typeof b.length))throw Error("JSON.stringify");return g("",{"":a})});
57
  "function"!==typeof JSON.parseIt&&(JSON.parseIt=function(a,b){function d(a,c){var e,g=a[c];if(g&&"object"===typeof g)for(e in g)if(Object.hasOwnProperty.call(g,e)){var f=d(g,e);void 0!==f?g[e]=f:delete g[e]}return b.call(a,c,g)}c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,
58
- "")))return a=eval("("+a+")"),"function"===typeof b?d({"":a},""):a;throw new SyntaxError("JSON.parseIt");})})();(function(a){function f(c,b){function e(d){var e=a(d);return b.globalNav?e:c.parent().find(d)}var d=this,f=a(this),m=!b.vertical,h=c.children(),k=0,l;g||(g=d);a.each(b,function(b,d){a.isFunction(d)&&f.bind(b,d)});1<h.length&&(h=a(b.items,c));c.data("finder",e);var q=e(b.prev),n=e(b.next),t=e(b.prevPage),p=e(b.nextPage);a.extend(d,{getIndex:function(){return k},getClickIndex:function(){var a=d.getItems();return a.index(a.filter("."+b.activeClass))},getConf:function(){return b},getSize:function(){return d.getItems().size()},
59
  getPageAmount:function(){return Math.ceil(this.getSize()/b.size)},getPageIndex:function(){return Math.ceil(k/b.size)},getNaviButtons:function(){return q.add(n).add(t).add(p)},getRoot:function(){return c},getItemWrap:function(){return h},getItems:function(){return h.children(b.item)},getVisibleItems:function(){return d.getItems().slice(k,k+b.size)},seekTo:function(c,e,r){function x(){r&&r.call(d,c);f.trigger("onSeek",[c])}0>c&&(c=0);if(k===c)return d;a.isFunction(e)&&(r=e);if(c>d.getSize()-b.size)return b.loop?
60
  d.begin():this.end();var u=d.getItems().eq(c);if(!u.length)return d;var l=a.Event("onBeforeSeek");f.trigger(l,c>k);if(l.isDefaultPrevented())return d;if(void 0===e||a.isFunction(e))e=b.speed;m?h.animate({left:-u.position().left},e,b.easing,x):h.animate({top:-u.position().top},e,b.easing,x);g=d;k=c;l=a.Event("onStart");f.trigger(l,[c]);if(l.isDefaultPrevented())return d;q.add(t).toggleClass(b.disabledClass,0===c);n.add(p).toggleClass(b.disabledClass,c>=d.getSize()-b.size);return d},move:function(a,
61
  b,c){l=0<a;return this.seekTo(k+a,b,c)},next:function(a,b){return this.move(1,a,b)},prev:function(a,b){return this.move(-1,a,b)},movePage:function(a,c,d){l=0<a;var e=b.size*a,g=k%b.size;0<g&&(e+=0<a?-g:b.size-g);return this.move(e,c,d)},prevPage:function(a,b){return this.movePage(-1,a,b)},nextPage:function(a,b){return this.movePage(1,a,b)},setPage:function(a,c,d){return this.seekTo(a*b.size,c,d)},begin:function(a,b){l=!1;return this.seekTo(0,a,b)},end:function(a,c){l=!0;var e=this.getSize()-b.size;
25
  break;case "x":h=h.toString(16);break;case "X":h=h.toString(16).toUpperCase()}h=/[def]/.test(k[8])&&k[3]&&0<=h?"+"+h:h;m=k[4]?"0"==k[4]?"0":k[4].charAt(1):" ";var l=k[6]-String(h).length;if(k[6]){for(var q=[];0<l;q[--l]=m);m=q.join("")}else m="";d.push(k[5]?h+m:m+h)}}return d.join("")};f.cache={};f.parse=function(a){for(var c,b=[],e=0;a;){if(null!==(c=/^[^\x25]+/.exec(a)))b.push(c[0]);else if(null!==(c=/^\x25{2}/.exec(a)))b.push("%");else if(null!==(c=/^\x25(?:([1-9]\d*)\$|\(([^\)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-fosuxX])/.exec(a))){if(c[2]){var e=
26
  e|1,d=[],g=c[2],f;if(null!==(f=/^([a-z_][a-z_\d]*)/i.exec(g)))for(d.push(f[1]);""!==(g=g.substring(f[0].length));)if(null!==(f=/^\.([a-z_][a-z_\d]*)/i.exec(g)))d.push(f[1]);else if(null!==(f=/^\[(\d+)\]/.exec(g)))d.push(f[1]);else throw"[sprintf] huh?";else throw"[sprintf] huh?";c[2]=d}else e|=2;if(3===e)throw"[sprintf] mixing positional and named placeholders is not (yet) supported";b.push(c)}else throw"[sprintf] huh?";a=a.substring(c[0].length)}return b};return f}(),vsprintf=function(a,f){f.unshift(a);
27
  return sprintf.apply(null,f)};jQuery.cookie=function(a,f,g){if("undefined"!=typeof f){g=g||{};null===f&&(f="",g.expires=-1);var c="";g.expires&&("number"==typeof g.expires||g.expires.toUTCString)&&("number"==typeof g.expires?(c=new Date,c.setTime(c.getTime()+864E5*g.expires)):c=g.expires,c="; expires="+c.toUTCString());var b=g.path?"; path="+g.path:"",e=g.domain?"; domain="+g.domain:"";g=g.secure?"; secure":"";document.cookie=[a,"=",encodeURIComponent(f),c,b,e,g].join("")}else{f=null;if(document.cookie&&""!=document.cookie)for(g=
28
+ document.cookie.split(";"),c=0;c<g.length;c++)if(b=jQuery.trim(g[c]),b.substring(0,a.length+1)==a+"="){f=decodeURIComponent(b.substring(a.length+1));break}return f}};(function(a){a.fn.bgIframe=a.fn.bgiframe=function(f){if(a.browser_backward_hack.msie&&6>=parseInt(a.browser_backward_hack.version)){f=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;"},f||{});var g=function(a){return a&&a.constructor==Number?a+"px":a},c='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+f.src+'"style="display:block;position:absolute;z-index:-1;'+(!1!==f.opacity?"filter:Alpha(Opacity='0');":"")+"top:"+("auto"==f.top?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":
29
+ g(f.top))+";left:"+("auto"==f.left?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":g(f.left))+";width:"+("auto"==f.width?"expression(this.parentNode.offsetWidth+'px')":g(f.width))+";height:"+("auto"==f.height?"expression(this.parentNode.offsetHeight+'px')":g(f.height))+';"/>';return this.each(function(){0==a("> iframe.bgiframe",this).length&&this.insertBefore(document.createElement(c),this.firstChild)})}return this};a.browser_backward_hack||(a.browser_backward_hack={});a.browser_backward_hack.version||
30
+ (a.browser_backward_hack.version=navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1])})(jQuery);(function(a){a.each({focus:"focusin",blur:"focusout"},function(f,g){a.event.special[g]={setup:function(){if(a.browser_backward_hack.msie)return!1;this.addEventListener(f,a.event.special[g].handler,!0)},teardown:function(){if(a.browser_backward_hack.msie)return!1;this.removeEventListener(f,a.event.special[g].handler,!0)},handler:function(c){arguments[0]=a.event.fix(c);arguments[0].type=g;return a.event.handle.apply(this,arguments)}}});a.extend(a.fn,{delegate:function(f,g,c){return this.bind(f,function(b){var e=a(b.target);if(e.is(g))return c.apply(e,
31
+ arguments)})},triggerEvent:function(f,g){return this.triggerHandler(f,[a.event.fix({type:f,target:g})])}})})(jQuery);(function(a){function f(c,b){function e(d){var e=a(d);return b.globalNav?e:c.parent().find(d)}var d=this,f=a(this),m=!b.vertical,h=c.children(),k=0,l;g||(g=d);a.each(b,function(d,b){a.isFunction(b)&&f.bind(d,b)});1<h.length&&(h=a(b.items,c));c.data("finder",e);var q=e(b.prev),n=e(b.next),t=e(b.prevPage),p=e(b.nextPage);a.extend(d,{getIndex:function(){return k},getClickIndex:function(){var a=d.getItems();return a.index(a.filter("."+b.activeClass))},getConf:function(){return b},getSize:function(){return d.getItems().length},
32
  getPageAmount:function(){return Math.ceil(this.getSize()/b.size)},getPageIndex:function(){return Math.ceil(k/b.size)},getNaviButtons:function(){return q.add(n).add(t).add(p)},getRoot:function(){return c},getItemWrap:function(){return h},getItems:function(){return h.children(b.item)},getVisibleItems:function(){return d.getItems().slice(k,k+b.size)},seekTo:function(e,c,r){function x(){r&&r.call(d,e);f.trigger("onSeek",[e])}0>e&&(e=0);if(k===e)return d;a.isFunction(c)&&(r=c);if(e>d.getSize()-b.size)return b.loop?
33
  d.begin():this.end();var u=d.getItems().eq(e);if(!u.length)return d;var l=a.Event("onBeforeSeek");f.trigger(l,[e]);if(l.isDefaultPrevented())return d;if(void 0===c||a.isFunction(c))c=b.speed;m?h.animate({left:-u.position().left},c,b.easing,x):h.animate({top:-u.position().top},c,b.easing,x);g=d;k=e;l=a.Event("onStart");f.trigger(l,[e]);if(l.isDefaultPrevented())return d;q.add(t).toggleClass(b.disabledClass,0===e);n.add(p).toggleClass(b.disabledClass,e>=d.getSize()-b.size);return d},move:function(a,
34
  b,d){l=0<a;return this.seekTo(k+a,b,d)},next:function(a,b){return this.move(1,a,b)},prev:function(a,b){return this.move(-1,a,b)},movePage:function(a,d,e){l=0<a;var c=b.size*a,g=k%b.size;0<g&&(c+=0<a?-g:b.size-g);return this.move(c,d,e)},prevPage:function(a,b){return this.movePage(-1,a,b)},nextPage:function(a,b){return this.movePage(1,a,b)},setPage:function(a,d,e){return this.seekTo(a*b.size,d,e)},begin:function(a,b){l=!1;return this.seekTo(0,a,b)},end:function(a,e){l=!0;var c=this.getSize()-b.size;
43
  else{c.empty();c.data("navi",d);for(var b=0;b<d.getPageAmount();b++)c.append(a("<"+(g.naviItem||"a")+"/>"));f=c.children().each(function(b){var e=a(this);e.click(function(a){d.setPage(b);return a.preventDefault()});g.indexed&&e.text(b);g.idPrefix&&e.attr("id",g.idPrefix+b)})}f.eq(0).addClass(g.activeClass)}var d=a(this).scrollable(),c=d.getRoot().data("finder").call(null,g.navi),f=null,h=d.getNaviButtons();d&&(b=d);d.getNaviButtons=function(){return h.add(c)};d.onStart(function(a,b){a=g.activeClass;
44
  f.removeClass(a).eq(d.getPageIndex()).addClass(a)});d.onReload(function(){e()});e();var k=f.filter("[href="+location.hash+"]");k.length&&d.move(f.index(k))});return g.api?b:this}})(jQuery);
45
  (function(a){function f(b){switch(b.type){case "mousemove":return a.extend(b.data,{clientX:b.clientX,clientY:b.clientY,pageX:b.pageX,pageY:b.pageY});case "DOMMouseScroll":a.extend(b,b.data);b.delta=-b.detail/3;break;case "mousewheel":b.delta=b.wheelDelta/120}b.type="wheel";return a.event.handle.call(this,b,b.delta)}a.fn.wheel=function(a){return this[a?"bind":"trigger"]("wheel",a)};a.event.special.wheel={setup:function(){a.event.add(this,g,f,{})},teardown:function(){a.event.remove(this,g,f)}};var g=
46
+ a.browser_backward_hack.mozilla?"DOMMouseScroll"+("1.9">a.browser_backward_hack.version?" mousemove":""):"mousewheel",c=a.tools.scrollable;c.plugins=c.plugins||{};c.plugins.mousewheel={version:"1.0.1",conf:{api:!1,speed:50}};a.fn.mousewheel=function(b){var e=a.extend({},c.plugins.mousewheel.conf),d;"number"==typeof b&&(b={speed:b});b=a.extend(e,b);this.each(function(){var e=a(this).scrollable();e&&(d=e);e.getRoot().wheel(function(a,d){e.move(0>d?1:-1,b.speed||50);return!1})});return b.api?d:this}})(jQuery);(function(a){function f(a,b){var e=a.getHours(),d=b.show24Hours?e:(e+11)%12+1;b.show24Hours&&(d=(10>d?"0":"")+d);var c=a.getMinutes();a=b.timeFormat;a=a.replace("hh",d);a=a.replace("h",d);a=a.replace("mm",(10>c?"0":"")+c);return a=b.show24Hours?a.replace(" tt",""):a.replace("tt",12>e?b.amDesignator:b.pmDesignator)}function g(a,d){return"object"==typeof a?b(a):c(a,d)}function c(a,d){if(a){var e=a.split(d.separator),c=parseFloat(e[0]),e=parseFloat(e[1]);d.show24Hours||(12===c&&-1!==a.substr(d.amDesignator)?
47
  c=0:12!==c&&-1!==a.indexOf(d.pmDesignator)&&(c+=12));return b(new Date(0,0,0,c,e,0))}return null}function b(a){a.setFullYear(2001);a.setMonth(0);a.setDate(0);return a}a.fn.timePicker=function(b){var d=a.extend({},a.fn.timePicker.defaults,b);return this.each(function(){a.timePicker(this,d)})};a.timePicker=function(b,d){b=a(b)[0];return b.timePicker||(b.timePicker=new jQuery._timePicker(b,d))};a._timePicker=function(e,d){var r=!1,m=!1,h=g(d.startTime,d),k=g(d.endTime,d);a(e).attr("autocomplete","OFF");
48
  for(var l=[],q=new Date(h);q<=k;)l[l.length]=f(q,d),q=new Date(q.setMinutes(q.getMinutes()+d.step));for(var n=a("<div "+(d.tpDivId?'id="'+d.tpDivId+'" ':"")+'class="time-picker'+(d.show24Hours?"":" time-picker-12hours")+'"></div>'),t=a("<ul></ul>"),q=0;q<l.length;q++)t.append("<li>"+l[q]+"</li>");n.append(t);l=a(e).offset();n.appendTo("body").css({top:l.top-48+"px",left:l.left,width:a(e).width()+5+"px"}).hide();n.mouseover(function(){r=!0}).mouseout(function(){r=!1});a("li",t).mouseover(function(){m||
49
+ (a("li.selected",n).removeClass("selected"),a(this).addClass("selected"))}).mousedown(function(){r=!0}).click(function(){e.value=a(this).text();a(e).change();a.browser_backward_hack.msie||e.focus();n.hide();r=!1});var p=function(){if(n.is(":visible"))return!1;a("li",n).removeClass("selected");var g=a(e).offset();n.css({top:g.top+a(e).height()+10+"px",left:g.left,width:a(e).width()+5+"px"});n.show();var m=e.value?c(e.value,d):h,g=60*h.getHours()+h.getMinutes(),m=60*m.getHours()+m.getMinutes()-g,g=b(new Date(0,0,
50
+ 0,0,Math.round(m/d.step)*d.step+g,0)),g=h<g&&g<=k?g:h,g=a("li:contains("+f(g,d)+")",n);g.length&&(g.addClass("selected"),n[0].scrollTop=g[0].offsetTop);return!0};a(e).focus(p).click(p);a(e).blur(function(){r||n.hide()});l=a.browser_backward_hack.opera||a.browser_backward_hack.mozilla?"keypress":"keydown";a(e)[l](function(b){m=!0;var d=n[0].scrollTop;switch(b.keyCode){case 38:if(p())return!1;b=a("li.selected",t);var c=b.prev().addClass("selected")[0];c?(b.removeClass("selected"),c.offsetTop<d&&(n[0].scrollTop=d-c.offsetHeight)):
51
+ (b.removeClass("selected"),c=a("li:last",t).addClass("selected")[0],n[0].scrollTop=c.offsetTop-c.offsetHeight);return!1;case 40:if(p())return!1;b=a("li.selected",t);(c=b.next().addClass("selected")[0])?(b.removeClass("selected"),c.offsetTop+c.offsetHeight>d+n[0].offsetHeight&&(n[0].scrollTop=d+c.offsetHeight)):(b.removeClass("selected"),a("li:first",t).addClass("selected"),n[0].scrollTop=0);return!1;case 13:return n.is(":visible")&&(d=a("li.selected",t)[0],e.value=a(d).text(),a(e).change(),a.browser_backward_hack.msie||
52
  e.focus(),n.hide()),!1;case 27:return n.hide(),!1}return!0});a(e).keyup(function(a){m=!1});this.getTime=function(){return c(e.value,d)};this.setTime=function(c){e.value=f(b(c),d);a(e).change()}};a.fn.timePicker.defaults={step:30,startTime:new Date(0,0,0,0,0,0),endTime:new Date(0,0,0,23,30,0),separator:":",show24Hours:!0,timeFormat:"hh:mm tt",amDesignator:"AM",pmDesignator:"PM"}})(jQuery);this.JSON||(this.JSON={});
53
  (function(){function a(a){return 10>a?"0"+a:a}function f(a){b.lastIndex=0;return b.test(a)?'"'+a.replace(b,function(a){var b=r[a];return"string"===typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'}function g(a,b){var c=e,h=b[a];h&&"object"===typeof h&&"function"===typeof h.toJSON&&(h=h.toJSON(a));"function"===typeof m&&(h=m.call(b,a,h));switch(typeof h){case "string":return f(h);case "number":return isFinite(h)?String(h):"null";case "boolean":case "null":return String(h);case "object":if(!h)return"null";
54
  e+=d;var k=[];if("[object Array]"===Object.prototype.toString.apply(h)){var r=h.length;for(a=0;a<r;a+=1)k[a]=g(a,h)||"null";b=0===k.length?"[]":e?"[\n"+e+k.join(",\n"+e)+"\n"+c+"]":"["+k.join(",")+"]";e=c;return b}if(m&&"object"===typeof m)for(r=m.length,a=0;a<r;a+=1){var p=m[a];"string"===typeof p&&(b=g(p,h))&&k.push(f(p)+(e?": ":":")+b)}else for(p in h)Object.hasOwnProperty.call(h,p)&&(b=g(p,h))&&k.push(f(p)+(e?": ":":")+b);b=0===k.length?"{}":e?"{\n"+e+k.join(",\n"+e)+"\n"+c+"}":"{"+k.join(",")+
55
  "}";e=c;return b}}"function"!==typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(b){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+a(this.getUTCMonth()+1)+"-"+a(this.getUTCDate())+"T"+a(this.getUTCHours())+":"+a(this.getUTCMinutes())+":"+a(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(a){return this.valueOf()});var c=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,
56
  b=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,e,d,r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},m;"function"!==typeof JSON.stringify&&(JSON.stringify=function(a,b,c){var f;d=e="";if("number"===typeof c)for(f=0;f<c;f+=1)d+=" ";else"string"===typeof c&&(d=c);if((m=b)&&"function"!==typeof b&&("object"!==typeof b||"number"!==typeof b.length))throw Error("JSON.stringify");return g("",{"":a})});
57
  "function"!==typeof JSON.parseIt&&(JSON.parseIt=function(a,b){function d(a,c){var e,g=a[c];if(g&&"object"===typeof g)for(e in g)if(Object.hasOwnProperty.call(g,e)){var f=d(g,e);void 0!==f?g[e]=f:delete g[e]}return b.call(a,c,g)}c.lastIndex=0;c.test(a)&&(a=a.replace(c,function(a){return"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,
58
+ "")))return a=eval("("+a+")"),"function"===typeof b?d({"":a},""):a;throw new SyntaxError("JSON.parseIt");})})();(function(a){function f(c,b){function e(d){var e=a(d);return b.globalNav?e:c.parent().find(d)}var d=this,f=a(this),m=!b.vertical,h=c.children(),k=0,l;g||(g=d);a.each(b,function(b,d){a.isFunction(d)&&f.bind(b,d)});1<h.length&&(h=a(b.items,c));c.data("finder",e);var q=e(b.prev),n=e(b.next),t=e(b.prevPage),p=e(b.nextPage);a.extend(d,{getIndex:function(){return k},getClickIndex:function(){var a=d.getItems();return a.index(a.filter("."+b.activeClass))},getConf:function(){return b},getSize:function(){return d.getItems().length},
59
  getPageAmount:function(){return Math.ceil(this.getSize()/b.size)},getPageIndex:function(){return Math.ceil(k/b.size)},getNaviButtons:function(){return q.add(n).add(t).add(p)},getRoot:function(){return c},getItemWrap:function(){return h},getItems:function(){return h.children(b.item)},getVisibleItems:function(){return d.getItems().slice(k,k+b.size)},seekTo:function(c,e,r){function x(){r&&r.call(d,c);f.trigger("onSeek",[c])}0>c&&(c=0);if(k===c)return d;a.isFunction(e)&&(r=e);if(c>d.getSize()-b.size)return b.loop?
60
  d.begin():this.end();var u=d.getItems().eq(c);if(!u.length)return d;var l=a.Event("onBeforeSeek");f.trigger(l,c>k);if(l.isDefaultPrevented())return d;if(void 0===e||a.isFunction(e))e=b.speed;m?h.animate({left:-u.position().left},e,b.easing,x):h.animate({top:-u.position().top},e,b.easing,x);g=d;k=c;l=a.Event("onStart");f.trigger(l,[c]);if(l.isDefaultPrevented())return d;q.add(t).toggleClass(b.disabledClass,0===c);n.add(p).toggleClass(b.disabledClass,c>=d.getSize()-b.size);return d},move:function(a,
61
  b,c){l=0<a;return this.seekTo(k+a,b,c)},next:function(a,b){return this.move(1,a,b)},prev:function(a,b){return this.move(-1,a,b)},movePage:function(a,c,d){l=0<a;var e=b.size*a,g=k%b.size;0<g&&(e+=0<a?-g:b.size-g);return this.move(e,c,d)},prevPage:function(a,b){return this.movePage(-1,a,b)},nextPage:function(a,b){return this.movePage(1,a,b)},setPage:function(a,c,d){return this.seekTo(a*b.size,c,d)},begin:function(a,b){l=!1;return this.seekTo(0,a,b)},end:function(a,c){l=!0;var e=this.getSize()-b.size;
lib/jquery.bgiframe.js CHANGED
@@ -70,7 +70,7 @@
70
  */
71
  jQuery.fn.bgIframe = jQuery.fn.bgiframe = function(s) {
72
  // This is only for IE6
73
- if ( jQuery.browser.msie && parseInt(jQuery.browser.version) <= 6 ) {
74
  s = jQuery.extend({
75
  top : 'auto', // auto == .currentStyle.borderTopWidth
76
  left : 'auto', // auto == .currentStyle.borderLeftWidth
@@ -96,12 +96,9 @@ jQuery.fn.bgIframe = jQuery.fn.bgiframe = function(s) {
96
  return this;
97
  };
98
 
99
- if (!jQuery.browser) {
100
- jQuery.browser = {};
101
  }
102
 
103
- // Add browser.version if it doesn't exist
104
- if (!jQuery.browser.version)
105
- jQuery.browser.version = navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1];
106
 
107
  })(jQuery);
70
  */
71
  jQuery.fn.bgIframe = jQuery.fn.bgiframe = function(s) {
72
  // This is only for IE6
73
+ if ( jQuery.browser_backward_hack_backward_hack.msie && parseInt(jQuery.browser_backward_hack_backward_hack.version) <= 6 ) {
74
  s = jQuery.extend({
75
  top : 'auto', // auto == .currentStyle.borderTopWidth
76
  left : 'auto', // auto == .currentStyle.borderLeftWidth
96
  return this;
97
  };
98
 
99
+ if (!jQuery.browser_backward_hack_backward_hack_backjQuery.browser_backward_hack_backward_hackjQuery.browser_backward_hack = {};
 
100
  }
101
 
102
+ // Add browser.version if it doesnjQuery.browser_backward_hack_backward_hackjQuery.browjQuery.browser_backward_hack_backward_hackjQuery.browser_backward_hack.version = navigator.userAgent.toLowerCase().match(/.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/)[1];
 
 
103
 
104
  })(jQuery);
lib/jquery.delegate.js CHANGED
@@ -24,11 +24,11 @@
24
  }, function( original, fix ){
25
  jQuery.event.special[fix] = {
26
  setup:function() {
27
- if ( jQuery.browser.msie ) return false;
28
  this.addEventListener( original, jQuery.event.special[fix].handler, true );
29
  },
30
  teardown:function() {
31
- if ( jQuery.browser.msie ) return false;
32
  this.removeEventListener( original,
33
  jQuery.event.special[fix].handler, true );
34
  },
24
  }, function( original, fix ){
25
  jQuery.event.special[fix] = {
26
  setup:function() {
27
+ if ( jQuery.browser_backward_hack_backward_hack.msie ) return false;
28
  this.addEventListener( original, jQuery.event.special[fix].handler, true );
29
  },
30
  teardown:function() {
31
+ if ( jQuery.browser_backward_hack_backward_hack.msie ) return false;
32
  this.removeEventListener( original,
33
  jQuery.event.special[fix].handler, true );
34
  },
lib/jquery.timepicker.js CHANGED
@@ -133,7 +133,7 @@
133
  // Keydown doesn't repeat on Firefox and Opera on Mac.
134
  // Using kepress for Opera and Firefox and keydown for the rest seems to
135
  // work with up/down/enter/esc.
136
- var event = ($.browser.opera || $.browser.mozilla) ? 'keypress' : 'keydown';
137
  $(elm)[event](function(e) {
138
  var $selected;
139
  keyDown = true;
@@ -232,7 +232,7 @@
232
  // Trigger element's change events.
233
  $(elm).change();
234
  // Keep focus for all but IE (which doesn't like it)
235
- if (!$.browser.msie) {
236
  elm.focus();
237
  }
238
  // Hide picker
133
  // Keydown doesn't repeat on Firefox and Opera on Mac.
134
  // Using kepress for Opera and Firefox and keydown for the rest seems to
135
  // work with up/down/enter/esc.
136
+ var event = ($.browser_backward_hack.opera || $.browser_backward_hack.mozilla) ? 'keypress' : 'keydown';
137
  $(elm)[event](function(e) {
138
  var $selected;
139
  keyDown = true;
232
  // Trigger element's change events.
233
  $(elm).change();
234
  // Keep focus for all but IE (which doesn't like it)
235
+ if (!$.browser_backward_hack.msie) {
236
  elm.focus();
237
  }
238
  // Hide picker
lib/jquery.tools.min.js CHANGED
@@ -24,4 +24,4 @@
24
  (function(b){b.tools=b.tools||{};b.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:false}};var c;function a(o,m){var r=this,p=b(this),d=!m.vertical,e=o.children(),k=0,i;if(!c){c=r}b.each(m,function(s,t){if(b.isFunction(t)){p.bind(s,t)}});if(e.length>1){e=b(m.items,o)}function l(t){var s=b(t);return m.globalNav?s:o.parent().find(t)}o.data("finder",l);var f=l(m.prev),h=l(m.next),g=l(m.prevPage),n=l(m.nextPage);b.extend(r,{getIndex:function(){return k},getClickIndex:function(){var s=r.getItems();return s.index(s.filter("."+m.activeClass))},getConf:function(){return m},getSize:function(){return r.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/m.size)},getPageIndex:function(){return Math.ceil(k/m.size)},getNaviButtons:function(){return f.add(h).add(g).add(n)},getRoot:function(){return o},getItemWrap:function(){return e},getItems:function(){return e.children(m.item)},getVisibleItems:function(){return r.getItems().slice(k,k+m.size)},seekTo:function(s,w,t){if(s<0){s=0}if(k===s){return r}if(b.isFunction(w)){t=w}if(s>r.getSize()-m.size){return m.loop?r.begin():this.end()}var u=r.getItems().eq(s);if(!u.length){return r}var v=b.Event("onBeforeSeek");p.trigger(v,[s]);if(v.isDefaultPrevented()){return r}if(w===undefined||b.isFunction(w)){w=m.speed}function x(){if(t){t.call(r,s)}p.trigger("onSeek",[s])}if(d){e.animate({left:-u.position().left},w,m.easing,x)}else{e.animate({top:-u.position().top},w,m.easing,x)}c=r;k=s;v=b.Event("onStart");p.trigger(v,[s]);if(v.isDefaultPrevented()){return r}f.add(g).toggleClass(m.disabledClass,s===0);h.add(n).toggleClass(m.disabledClass,s>=r.getSize()-m.size);return r},move:function(u,t,s){i=u>0;return this.seekTo(k+u,t,s)},next:function(t,s){return this.move(1,t,s)},prev:function(t,s){return this.move(-1,t,s)},movePage:function(w,v,u){i=w>0;var s=m.size*w;var t=k%m.size;if(t>0){s+=(w>0?-t:m.size-t)}return this.move(s,v,u)},prevPage:function(t,s){return this.movePage(-1,t,s)},nextPage:function(t,s){return this.movePage(1,t,s)},setPage:function(t,u,s){return this.seekTo(t*m.size,u,s)},begin:function(t,s){i=false;return this.seekTo(0,t,s)},end:function(t,s){i=true;var u=this.getSize()-m.size;return u>0?this.seekTo(u,t,s):r},reload:function(){p.trigger("onReload");return r},focus:function(){c=r;return r},click:function(u){var v=r.getItems().eq(u),s=m.activeClass,t=m.size;if(u<0||u>=r.getSize()){return r}if(t==1){if(m.loop){return r.next()}if(u===0||u==r.getSize()-1){i=(i===undefined)?true:!i}return i===false?r.prev():r.next()}if(t==2){if(u==k){u--}r.getItems().removeClass(s);v.addClass(s);return r.seekTo(u,time,fn)}if(!v.hasClass(s)){r.getItems().removeClass(s);v.addClass(s);var x=Math.floor(t/2);var w=u-x;if(w>r.getSize()-t){w=r.getSize()-t}if(w!==u){return r.seekTo(w)}}return r},bind:function(s,t){p.bind(s,t);return r},unbind:function(s){p.unbind(s);return r}});b.each("onBeforeSeek,onStart,onSeek,onReload".split(","),function(s,t){r[t]=function(u){return r.bind(t,u)}});f.addClass(m.disabledClass).click(function(){r.prev()});h.click(function(){r.next()});n.click(function(){r.nextPage()});if(r.getSize()<m.size){h.add(n).addClass(m.disabledClass)}g.addClass(m.disabledClass).click(function(){r.prevPage()});var j=m.hoverClass,q="keydown."+Math.random().toString().substring(10);r.onReload(function(){if(j){r.getItems().hover(function(){b(this).addClass(j)},function(){b(this).removeClass(j)})}if(m.clickable){r.getItems().each(function(s){b(this).unbind("click.scrollable").bind("click.scrollable",function(t){if(b(t.target).is("a")){return}return r.click(s)})})}if(m.keyboard){b(document).unbind(q).bind(q,function(t){if(t.altKey||t.ctrlKey){return}if(m.keyboard!="static"&&c!=r){return}var u=m.keyboardSteps;if(d&&(t.keyCode==37||t.keyCode==39)){r.move(t.keyCode==37?-u:u);return t.preventDefault()}if(!d&&(t.keyCode==38||t.keyCode==40)){r.move(t.keyCode==38?-u:u);return t.preventDefault()}return true})}else{b(document).unbind(q)}});r.reload()}b.fn.scrollable=function(d){var e=this.eq(typeof d=="number"?d:0).data("scrollable");if(e){return e}var f=b.extend({},b.tools.scrollable.conf);d=b.extend(f,d);d.keyboardSteps=d.keyboardSteps||d.size;this.each(function(){e=new a(b(this),d);b(this).data("scrollable",e)});return d.api?e:this}})(jQuery);
25
  (function(b){var a=b.tools.scrollable;a.plugins=a.plugins||{};a.plugins.autoscroll={version:"1.0.1",conf:{autoplay:true,interval:3000,autopause:true,steps:1,api:false}};b.fn.autoscroll=function(d){if(typeof d=="number"){d={interval:d}}var e=b.extend({},a.plugins.autoscroll.conf),c;b.extend(e,d);this.each(function(){var g=b(this).scrollable();if(g){c=g}var i,f,h=true;g.play=function(){if(i){return}h=false;i=setInterval(function(){g.move(e.steps)},e.interval);g.move(e.steps)};g.pause=function(){i=clearInterval(i)};g.stop=function(){g.pause();h=true};if(e.autopause){g.getRoot().add(g.getNaviButtons()).hover(function(){g.pause();clearInterval(f)},function(){if(!h){f=setTimeout(g.play,e.interval)}})}if(e.autoplay){setTimeout(g.play,e.interval)}});return e.api?c:this}})(jQuery);
26
  (function(b){var a=b.tools.scrollable;a.plugins=a.plugins||{};a.plugins.navigator={version:"1.0.2",conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,api:false,idPrefix:null}};b.fn.navigator=function(d){var e=b.extend({},a.plugins.navigator.conf),c;if(typeof d=="string"){d={navi:d}}d=b.extend(e,d);this.each(function(){var i=b(this).scrollable(),f=i.getRoot(),l=f.data("finder").call(null,d.navi),g=null,k=i.getNaviButtons();if(i){c=i}i.getNaviButtons=function(){return k.add(l)};function j(){if(!l.children().length||l.data("navi")==i){l.empty();l.data("navi",i);for(var m=0;m<i.getPageAmount();m++){l.append(b("<"+(d.naviItem||"a")+"/>"))}g=l.children().each(function(n){var o=b(this);o.click(function(p){i.setPage(n);return p.preventDefault()});if(d.indexed){o.text(n)}if(d.idPrefix){o.attr("id",d.idPrefix+n)}})}else{g=d.naviItem?l.find(d.naviItem):l.children();g.each(function(n){var o=b(this);o.click(function(p){i.setPage(n);return p.preventDefault()})})}g.eq(0).addClass(d.activeClass)}i.onStart(function(o,n){var m=d.activeClass;g.removeClass(m).eq(i.getPageIndex()).addClass(m)});i.onReload(function(){j()});j();var h=g.filter("[href="+location.hash+"]");if(h.length){i.move(g.index(h))}});return d.api?c:this}})(jQuery);
27
- (function(b){b.fn.wheel=function(e){return this[e?"bind":"trigger"]("wheel",e)};b.event.special.wheel={setup:function(){b.event.add(this,d,c,{})},teardown:function(){b.event.remove(this,d,c)}};var d=!b.browser.mozilla?"mousewheel":"DOMMouseScroll"+(b.browser.version<"1.9"?" mousemove":"");function c(e){switch(e.type){case"mousemove":return b.extend(e.data,{clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY});case"DOMMouseScroll":b.extend(e,e.data);e.delta=-e.detail/3;break;case"mousewheel":e.delta=e.wheelDelta/120;break}e.type="wheel";return b.event.handle.call(this,e,e.delta)}var a=b.tools.scrollable;a.plugins=a.plugins||{};a.plugins.mousewheel={version:"1.0.1",conf:{api:false,speed:50}};b.fn.mousewheel=function(f){var g=b.extend({},a.plugins.mousewheel.conf),e;if(typeof f=="number"){f={speed:f}}f=b.extend(g,f);this.each(function(){var h=b(this).scrollable();if(h){e=h}h.getRoot().wheel(function(i,j){h.move(j<0?1:-1,f.speed||50);return false})});return f.api?e:this}})(jQuery);
24
  (function(b){b.tools=b.tools||{};b.tools.scrollable={version:"1.1.2",conf:{size:5,vertical:false,speed:400,keyboard:true,keyboardSteps:null,disabledClass:"disabled",hoverClass:null,clickable:true,activeClass:"active",easing:"swing",loop:false,items:".items",item:null,prev:".prev",next:".next",prevPage:".prevPage",nextPage:".nextPage",api:false}};var c;function a(o,m){var r=this,p=b(this),d=!m.vertical,e=o.children(),k=0,i;if(!c){c=r}b.each(m,function(s,t){if(b.isFunction(t)){p.bind(s,t)}});if(e.length>1){e=b(m.items,o)}function l(t){var s=b(t);return m.globalNav?s:o.parent().find(t)}o.data("finder",l);var f=l(m.prev),h=l(m.next),g=l(m.prevPage),n=l(m.nextPage);b.extend(r,{getIndex:function(){return k},getClickIndex:function(){var s=r.getItems();return s.index(s.filter("."+m.activeClass))},getConf:function(){return m},getSize:function(){return r.getItems().size()},getPageAmount:function(){return Math.ceil(this.getSize()/m.size)},getPageIndex:function(){return Math.ceil(k/m.size)},getNaviButtons:function(){return f.add(h).add(g).add(n)},getRoot:function(){return o},getItemWrap:function(){return e},getItems:function(){return e.children(m.item)},getVisibleItems:function(){return r.getItems().slice(k,k+m.size)},seekTo:function(s,w,t){if(s<0){s=0}if(k===s){return r}if(b.isFunction(w)){t=w}if(s>r.getSize()-m.size){return m.loop?r.begin():this.end()}var u=r.getItems().eq(s);if(!u.length){return r}var v=b.Event("onBeforeSeek");p.trigger(v,[s]);if(v.isDefaultPrevented()){return r}if(w===undefined||b.isFunction(w)){w=m.speed}function x(){if(t){t.call(r,s)}p.trigger("onSeek",[s])}if(d){e.animate({left:-u.position().left},w,m.easing,x)}else{e.animate({top:-u.position().top},w,m.easing,x)}c=r;k=s;v=b.Event("onStart");p.trigger(v,[s]);if(v.isDefaultPrevented()){return r}f.add(g).toggleClass(m.disabledClass,s===0);h.add(n).toggleClass(m.disabledClass,s>=r.getSize()-m.size);return r},move:function(u,t,s){i=u>0;return this.seekTo(k+u,t,s)},next:function(t,s){return this.move(1,t,s)},prev:function(t,s){return this.move(-1,t,s)},movePage:function(w,v,u){i=w>0;var s=m.size*w;var t=k%m.size;if(t>0){s+=(w>0?-t:m.size-t)}return this.move(s,v,u)},prevPage:function(t,s){return this.movePage(-1,t,s)},nextPage:function(t,s){return this.movePage(1,t,s)},setPage:function(t,u,s){return this.seekTo(t*m.size,u,s)},begin:function(t,s){i=false;return this.seekTo(0,t,s)},end:function(t,s){i=true;var u=this.getSize()-m.size;return u>0?this.seekTo(u,t,s):r},reload:function(){p.trigger("onReload");return r},focus:function(){c=r;return r},click:function(u){var v=r.getItems().eq(u),s=m.activeClass,t=m.size;if(u<0||u>=r.getSize()){return r}if(t==1){if(m.loop){return r.next()}if(u===0||u==r.getSize()-1){i=(i===undefined)?true:!i}return i===false?r.prev():r.next()}if(t==2){if(u==k){u--}r.getItems().removeClass(s);v.addClass(s);return r.seekTo(u,time,fn)}if(!v.hasClass(s)){r.getItems().removeClass(s);v.addClass(s);var x=Math.floor(t/2);var w=u-x;if(w>r.getSize()-t){w=r.getSize()-t}if(w!==u){return r.seekTo(w)}}return r},bind:function(s,t){p.bind(s,t);return r},unbind:function(s){p.unbind(s);return r}});b.each("onBeforeSeek,onStart,onSeek,onReload".split(","),function(s,t){r[t]=function(u){return r.bind(t,u)}});f.addClass(m.disabledClass).click(function(){r.prev()});h.click(function(){r.next()});n.click(function(){r.nextPage()});if(r.getSize()<m.size){h.add(n).addClass(m.disabledClass)}g.addClass(m.disabledClass).click(function(){r.prevPage()});var j=m.hoverClass,q="keydown."+Math.random().toString().substring(10);r.onReload(function(){if(j){r.getItems().hover(function(){b(this).addClass(j)},function(){b(this).removeClass(j)})}if(m.clickable){r.getItems().each(function(s){b(this).unbind("click.scrollable").bind("click.scrollable",function(t){if(b(t.target).is("a")){return}return r.click(s)})})}if(m.keyboard){b(document).unbind(q).bind(q,function(t){if(t.altKey||t.ctrlKey){return}if(m.keyboard!="static"&&c!=r){return}var u=m.keyboardSteps;if(d&&(t.keyCode==37||t.keyCode==39)){r.move(t.keyCode==37?-u:u);return t.preventDefault()}if(!d&&(t.keyCode==38||t.keyCode==40)){r.move(t.keyCode==38?-u:u);return t.preventDefault()}return true})}else{b(document).unbind(q)}});r.reload()}b.fn.scrollable=function(d){var e=this.eq(typeof d=="number"?d:0).data("scrollable");if(e){return e}var f=b.extend({},b.tools.scrollable.conf);d=b.extend(f,d);d.keyboardSteps=d.keyboardSteps||d.size;this.each(function(){e=new a(b(this),d);b(this).data("scrollable",e)});return d.api?e:this}})(jQuery);
25
  (function(b){var a=b.tools.scrollable;a.plugins=a.plugins||{};a.plugins.autoscroll={version:"1.0.1",conf:{autoplay:true,interval:3000,autopause:true,steps:1,api:false}};b.fn.autoscroll=function(d){if(typeof d=="number"){d={interval:d}}var e=b.extend({},a.plugins.autoscroll.conf),c;b.extend(e,d);this.each(function(){var g=b(this).scrollable();if(g){c=g}var i,f,h=true;g.play=function(){if(i){return}h=false;i=setInterval(function(){g.move(e.steps)},e.interval);g.move(e.steps)};g.pause=function(){i=clearInterval(i)};g.stop=function(){g.pause();h=true};if(e.autopause){g.getRoot().add(g.getNaviButtons()).hover(function(){g.pause();clearInterval(f)},function(){if(!h){f=setTimeout(g.play,e.interval)}})}if(e.autoplay){setTimeout(g.play,e.interval)}});return e.api?c:this}})(jQuery);
26
  (function(b){var a=b.tools.scrollable;a.plugins=a.plugins||{};a.plugins.navigator={version:"1.0.2",conf:{navi:".navi",naviItem:null,activeClass:"active",indexed:false,api:false,idPrefix:null}};b.fn.navigator=function(d){var e=b.extend({},a.plugins.navigator.conf),c;if(typeof d=="string"){d={navi:d}}d=b.extend(e,d);this.each(function(){var i=b(this).scrollable(),f=i.getRoot(),l=f.data("finder").call(null,d.navi),g=null,k=i.getNaviButtons();if(i){c=i}i.getNaviButtons=function(){return k.add(l)};function j(){if(!l.children().length||l.data("navi")==i){l.empty();l.data("navi",i);for(var m=0;m<i.getPageAmount();m++){l.append(b("<"+(d.naviItem||"a")+"/>"))}g=l.children().each(function(n){var o=b(this);o.click(function(p){i.setPage(n);return p.preventDefault()});if(d.indexed){o.text(n)}if(d.idPrefix){o.attr("id",d.idPrefix+n)}})}else{g=d.naviItem?l.find(d.naviItem):l.children();g.each(function(n){var o=b(this);o.click(function(p){i.setPage(n);return p.preventDefault()})})}g.eq(0).addClass(d.activeClass)}i.onStart(function(o,n){var m=d.activeClass;g.removeClass(m).eq(i.getPageIndex()).addClass(m)});i.onReload(function(){j()});j();var h=g.filter("[href="+location.hash+"]");if(h.length){i.move(g.index(h))}});return d.api?c:this}})(jQuery);
27
+ (function(b){b.fn.wheel=function(e){return this[e?"bind":"trigger"]("wheel",e)};b.event.special.wheel={setup:function(){b.event.add(this,d,c,{})},teardown:function(){b.event.remove(this,d,c)}};var d=!b.browser_backward_hack.mozilla?"mousewheel":"DOMMouseScroll"+(b.browser_backward_hack.version<"1.9"?" mousemove":"");function c(e){switch(e.type){case"mousemove":return b.extend(e.data,{clientX:e.clientX,clientY:e.clientY,pageX:e.pageX,pageY:e.pageY});case"DOMMouseScroll":b.extend(e,e.data);e.delta=-e.detail/3;break;case"mousewheel":e.delta=e.wheelDelta/120;break}e.type="wheel";return b.event.handle.call(this,e,e.delta)}var a=b.tools.scrollable;a.plugins=a.plugins||{};a.plugins.mousewheel={version:"1.0.1",conf:{api:false,speed:50}};b.fn.mousewheel=function(f){var g=b.extend({},a.plugins.mousewheel.conf),e;if(typeof f=="number"){f={speed:f}}f=b.extend(g,f);this.each(function(){var h=b(this).scrollable();if(h){e=h}h.getRoot().wheel(function(i,j){h.move(j<0?1:-1,f.speed||50);return false})});return f.api?e:this}})(jQuery);
lib/tools.scrollable-1.1.2.js CHANGED
@@ -107,7 +107,7 @@
107
  },
108
 
109
  getSize: function() {
110
- return self.getItems().size();
111
  },
112
 
113
  getPageAmount: function() {
107
  },
108
 
109
  getSize: function() {
110
+ return self.getItems().length;
111
  },
112
 
113
  getPageAmount: function() {
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: cvernon, justinstresslimit, jkudish, MaryVogt, zgrossbart
3
  Tags: posts, post, calendar, AJAX, admin, administration
4
  Requires at least: 4.0
5
  Tested up to: 5.5
6
- Stable tag: 3.7.6
7
 
8
  The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
9
 
@@ -195,6 +195,10 @@ The `edcal_default_status` property controls the default status for new posts in
195
 
196
  == Changelog ==
197
 
 
 
 
 
198
  = 3.7.5 =
199
 
200
  The calendar now support quick edit when a post has either a title or content instead of requiring a title.
3
  Tags: posts, post, calendar, AJAX, admin, administration
4
  Requires at least: 4.0
5
  Tested up to: 5.5
6
+ Stable tag: 3.7.7
7
 
8
  The Editorial Calendar makes it possible to see all your posts and drag and drop them to manage your blog.
9
 
195
 
196
  == Changelog ==
197
 
198
+ = 3.7.7 =
199
+
200
+ This version tweaks the libraries that support the calendar to avoid warnings from the Enable jQuery Migrate Helper plugin.
201
+
202
  = 3.7.5 =
203
 
204
  The calendar now support quick edit when a post has either a title or content instead of requiring a title.