r2052 - trunk/ui

r2052 - trunk/ui


Author: eduardolundgren
Date: Sun Feb 8 20:36:43 2009
New Revision: 2052
Modified:
trunk/ui/ui.resizable.js
Log:
Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element
Modified: trunk/ui/ui.resizable.js
==============================================================================
--- trunk/ui/ui.resizable.js    (original)
+++ trunk/ui/ui.resizable.js    Sun Feb 8 20:36:43 2009
@@ -46,7 +46,10 @@
            );
            //Overwrite the original this.element
-            this.element = this.element.parent();
+            this.element = this.element.parent().data(
+                "resizable", this.element.data('resizable')
+            );
+
            this.elementIsWrapper = true;
            //Move margins to the wrapper