1
0
Fork 0
forked from 0x2620/oxjs

make dialog fire resize events after maximize and reset

This commit is contained in:
rlx 2011-10-11 10:34:02 +00:00
commit e5d0c3fd20
2 changed files with 8 additions and 1 deletions

View file

@ -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) {