Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element

This commit is contained in:
Eduardo Lundgren 2009-02-09 04:36:43 +00:00
parent e49aa9a3d7
commit e1320a794c

View File

@ -46,7 +46,10 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
); );
//Overwrite the original this.element //Overwrite the original this.element
this.element = this.element.parent(); this.element = this.element.parent().data(
"resizable", this.element.data('resizable')
);
this.elementIsWrapper = true; this.elementIsWrapper = true;
//Move margins to the wrapper //Move margins to the wrapper