]> source.dussan.org Git - jquery-ui.git/commitdiff
Sortable: Fixed #4017: Revert opacity after sort.
authorScott González <scott.gonzalez@gmail.com>
Sun, 1 Feb 2009 00:55:34 +0000 (00:55 +0000)
committerScott González <scott.gonzalez@gmail.com>
Sun, 1 Feb 2009 00:55:34 +0000 (00:55 +0000)
ui/ui.sortable.js

index 7330adb1da08c227e52e0982107fe97d64e82041..4fc1547193212a76e0bc8328628ae23c281fc60f 100644 (file)
@@ -937,7 +937,7 @@ $.widget("ui.sortable", $.extend({}, $.ui.mouse, {
 
                //Do what was originally in plugins
                if(this._storedCursor) $('body').css("cursor", this._storedCursor); //Reset cursor
-               if(this._storedOpacity) this.helper.css("opacity", this._storedCursor); //Reset cursor
+               if(this._storedOpacity) this.helper.css("opacity", this._storedOpacity); //Reset cursor
                if(this._storedZIndex) this.helper.css("zIndex", this._storedZIndex == 'auto' ? '' : this._storedZIndex); //Reset z-index
 
                this.dragging = false;