From e1320a794c691c64ef1ee0ba6709b92a9d7f6da5 Mon Sep 17 00:00:00 2001 From: Eduardo Lundgren Date: Mon, 9 Feb 2009 04:36:43 +0000 Subject: [PATCH] Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element --- ui/ui.resizable.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.39.5