]> source.dussan.org Git - jquery-ui.git/commitdiff
fixed #3026 - resizable resize handler is called too early
authorRichard Worth <rdworth@gmail.com>
Wed, 25 Jun 2008 12:03:28 +0000 (12:03 +0000)
committerRichard Worth <rdworth@gmail.com>
Wed, 25 Jun 2008 12:03:28 +0000 (12:03 +0000)
ui/ui.resizable.js

index 189e969cd3a4b505352ba7a8c130f0e556c8ad7c..0b2e02e3ac78c8fad18c7b62c2de4fea46464d3d 100644 (file)
@@ -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) {