r3546 committed - Mouse: Don't prevent text selection in IE....

r3546 committed - Mouse: Don't prevent text selection in IE....

Revision: 3546
Author: scott.gonzalez
Date: Mon Dec 28 17:32:44 2009
Log: Mouse: Don't prevent text selection in IE.
Fixes #4773 - Enable text selection in Internet Explorer.
Patch provided by stakach.
http://code.google.com/p/jquery-ui/source/detail?r=3546
Modified:
/trunk/ui/jquery.ui.mouse.js
=======================================
--- /trunk/ui/jquery.ui.mouse.js    Tue Dec 22 11:51:24 2009
+++ /trunk/ui/jquery.ui.mouse.js    Mon Dec 28 17:32:44 2009
@@ -27,12 +27,6 @@
                    return false;
                }
            });
-
-        // Prevent text selection in IE
-        if ($.browser.msie) {
-            this._mouseUnselectable = this.element.attr('unselectable');
-            this.element.attr('unselectable', 'on');
-        }
        this.started = false;
    },
@@ -41,10 +35,6 @@
    // other instances of mouse
    _mouseDestroy: function() {
        this.element.unbind('.'+this.widgetName);
-
-        // Restore text selection in IE
-        ($.browser.msie
-            && this.element.attr('unselectable', this._mouseUnselectable));
    },
    _mouseDown: function(event) {
--