r2049 - trunk/ui

r2049 - trunk/ui


Author: eduardolundgren
Date: Sun Feb 8 19:56:02 2009
New Revision: 2049
Modified:
trunk/ui/ui.resizable.js
Log:
Resizable: Fixed #4098 - Remove transparent option
Modified: trunk/ui/ui.resizable.js
==============================================================================
--- trunk/ui/ui.resizable.js    (original)
+++ trunk/ui/ui.resizable.js    Sun Feb 8 19:56:02 2009
@@ -103,9 +103,6 @@
                if(this.handles[i].constructor == String)
                    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)
                if (this.elementIsWrapper &&
this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) {
@@ -120,8 +117,7 @@
                        /se|sw|s/.test(i) ? 'Bottom' :
                        /^e$/.test(i) ? 'Right' : 'Left' ].join("");
-                    if (!o.transparent)
-                        target.css(padPos, padWrapper);
+                    target.css(padPos, padWrapper);
                    this._proportionallyResize();
@@ -521,7 +517,6 @@
        preserveCursor: true,
        preventDefault: true,
        proportionallyResize: false,
-        transparent: false,
        zIndex: 1000
    }
});