From: Eduardo Lundgren Date: Mon, 9 Feb 2009 04:36:43 +0000 (+0000) Subject: Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element X-Git-Tag: 1.6~20 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e1320a794c691c64ef1ee0ba6709b92a9d7f6da5;p=jquery-ui.git Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element --- 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