diff --git a/source/Ox.UI/js/Calendar/Ox.Calendar.js b/source/Ox.UI/js/Calendar/Ox.Calendar.js index ad819409..5252449c 100644 --- a/source/Ox.UI/js/Calendar/Ox.Calendar.js +++ b/source/Ox.UI/js/Calendar/Ox.Calendar.js @@ -1216,12 +1216,13 @@ Ox.Calendar = function(options, self) { if (key == 'date') { } else if (key == 'height') { - //that.css({height: self.options.height + 'px'}); + that.css({height: self.options.height + 'px'}); } else if (key == 'selected') { selectEvent(value); } else if (key == 'width') { - //that.css({width: self.options.width + 'px'}); - //self.$zoomInput.options({size: self.options.width}); + that.css({width: self.options.width + 'px'}); + self.options.showZoombar && self.$zoomInput.options({size: self.options.width}); + renderOverlay(); //getLines(); } else if (key == 'zoom') { diff --git a/source/Ox.UI/js/Core/Ox.Request.js b/source/Ox.UI/js/Core/Ox.Request.js index 3d17a561..feaaa818 100644 --- a/source/Ox.UI/js/Core/Ox.Request.js +++ b/source/Ox.UI/js/Core/Ox.Request.js @@ -13,6 +13,7 @@ Ox.Request = (function() { var cache = {}, //dfd = $.Deferred(), + $element = Ox.Element(), pending = {}, requests = {}, self = { @@ -59,6 +60,10 @@ Ox.Request = (function() { }); } }, + /*@ + bindEvent bindEvent to error/authrize requests + @*/ + bindEvent: $element.bindEvent, // fixme: remove _leakCache: function() { @@ -145,39 +150,8 @@ Ox.Request = (function() { } } - /* - function debug(request) { - var $iframe = $('