diff --git a/source/Ox.UI/js/Calendar/Ox.Calendar.js b/source/Ox.UI/js/Calendar/Ox.Calendar.js index 8806c1fe..8a61f1cf 100644 --- a/source/Ox.UI/js/Calendar/Ox.Calendar.js +++ b/source/Ox.UI/js/Calendar/Ox.Calendar.js @@ -1139,7 +1139,6 @@ Ox.Calendar = function(options, self) { self.options.width = that.width(); self.options.height = that.height(); self.$zoomInput.options({size: self.options.width}); - getLines(); renderCalendar(); return that; }; diff --git a/source/Ox.UI/js/Window/Ox.Dialog.js b/source/Ox.UI/js/Window/Ox.Dialog.js index f5afbcf5..aced2e53 100644 --- a/source/Ox.UI/js/Window/Ox.Dialog.js +++ b/source/Ox.UI/js/Window/Ox.Dialog.js @@ -297,6 +297,10 @@ Ox.Dialog = function(options, self) { height: self.options.maxHeight }, true); self.maximized = !self.maximized; + that.triggerEvent('resize', { + width: self.options.width, + height: self.options.height + }); } function mousedownLayer() { @@ -331,6 +335,10 @@ Ox.Dialog = function(options, self) { left: left, top: top }), animate); + that.triggerEvent('resize', { + width: self.options.width, + height: self.options.height + }); } function resizestart(event) {