| 3066 | var that = $(this).data("ui-resizable"), |
| 3067 | o = that.options, |
| 3068 | _store = function (exp) { |
| 3069 | $(exp).each(function() { |
| 3070 | var el = $(this); |
| 3071 | el.data("ui-resizable-alsoresize", { |
| 3072 | width: parseInt(el.width(), 10), height: parseInt(el.height(), 10), |
| 3073 | left: parseInt(el.css("left"), 10), top: parseInt(el.css("top"), 10) |
| 3074 | }); |
| 3075 | }); |
| 3076 | }; |
| 3077 | |
| 3078 | if (typeof(o.alsoResize) === "object" && !o.alsoResize.parentNode) { |
| 3079 | if (o.alsoResize.length) { o.alsoResize = o.alsoResize[0]; _store(o.alsoResize); } |