Resizable: Fixed #4098 - Remove transparent option

This commit is contained in:
Eduardo Lundgren 2009-02-09 03:56:02 +00:00
parent 0413807dfb
commit 78e8a1b789

View File

@ -103,9 +103,6 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
if(this.handles[i].constructor == String) if(this.handles[i].constructor == String)
this.handles[i] = $(this.handles[i], this.element).show(); this.handles[i] = $(this.handles[i], this.element).show();
if (o.transparent)
this.handles[i].css({ opacity: 0 });
//Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls) //Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls)
if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) { if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) {
@ -120,8 +117,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
/se|sw|s/.test(i) ? 'Bottom' : /se|sw|s/.test(i) ? 'Bottom' :
/^e$/.test(i) ? 'Right' : 'Left' ].join(""); /^e$/.test(i) ? 'Right' : 'Left' ].join("");
if (!o.transparent) target.css(padPos, padWrapper);
target.css(padPos, padWrapper);
this._proportionallyResize(); this._proportionallyResize();
@ -521,7 +517,6 @@ $.extend($.ui.resizable, {
preserveCursor: true, preserveCursor: true,
preventDefault: true, preventDefault: true,
proportionallyResize: false, proportionallyResize: false,
transparent: false,
zIndex: 1000 zIndex: 1000
} }
}); });