diff options
author | Richard Worth <rdworth@gmail.com> | 2008-06-25 12:03:28 +0000 |
---|---|---|
committer | Richard Worth <rdworth@gmail.com> | 2008-06-25 12:03:28 +0000 |
commit | d28ce126d8b2502ad8dac30995635aa9e61ffc74 (patch) | |
tree | 5f4f0c6aeb6d152add7b03d20b2feb29d2851927 /ui | |
parent | d0c11e932bec29bc271acf86db062e3a4d8d3797 (diff) | |
download | jquery-ui-d28ce126d8b2502ad8dac30995635aa9e61ffc74.tar.gz jquery-ui-d28ce126d8b2502ad8dac30995635aa9e61ffc74.zip |
fixed #3026 - resizable resize handler is called too early
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.resizable.js | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |