From d28ce126d8b2502ad8dac30995635aa9e61ffc74 Mon Sep 17 00:00:00 2001 From: Richard Worth Date: Wed, 25 Jun 2008 12:03:28 +0000 Subject: fixed #3026 - resizable resize handler is called too early --- ui/ui.resizable.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui') diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js index 189e969cd..0b2e02e3a 100644 --- a/ui/ui.resizable.js +++ b/ui/ui.resizable.js @@ -325,8 +325,6 @@ $.widget("ui.resizable", $.extend($.ui.mouse, { data = this._respectSize(data, e); - this.propagate("resize", e); - el.css({ top: this.position.top + "px", left: this.position.left + "px", width: this.size.width + "px", height: this.size.height + "px" @@ -337,6 +335,8 @@ $.widget("ui.resizable", $.extend($.ui.mouse, { this._updateCache(data); + this.propagate("resize", e); + return false; }, mouseStop: function(e) { -- cgit v1.2.3