diff options
author | Eduardo Lundgren <eduardolundgren@gmail.com> | 2009-02-09 04:36:43 +0000 |
---|---|---|
committer | Eduardo Lundgren <eduardolundgren@gmail.com> | 2009-02-09 04:36:43 +0000 |
commit | e1320a794c691c64ef1ee0ba6709b92a9d7f6da5 (patch) | |
tree | 01ff7da7fd5ef05b73533b2163b3b68fe41f9b57 | |
parent | e49aa9a3d71ed84c7134dc192f78829f9d6e86f1 (diff) | |
download | jquery-ui-e1320a794c691c64ef1ee0ba6709b92a9d7f6da5.tar.gz jquery-ui-e1320a794c691c64ef1ee0ba6709b92a9d7f6da5.zip |
Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element
-rw-r--r-- | ui/ui.resizable.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js index 17d7b493b..971808e98 100644 --- a/ui/ui.resizable.js +++ b/ui/ui.resizable.js @@ -46,7 +46,10 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { ); //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 |