diff options
author | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-11-19 15:20:36 +0000 |
---|---|---|
committer | Paul Bakaus <paul.bakaus@googlemail.com> | 2008-11-19 15:20:36 +0000 |
commit | 352287b7efeaf400463eae637a2230a350c6e2d9 (patch) | |
tree | 6eb8303d0033b1d6e17a89907504b8e574556aca /ui | |
parent | c3df1b6df6527cee743783cdb90d5a0fa4273b91 (diff) | |
download | jquery-ui-352287b7efeaf400463eae637a2230a350c6e2d9.tar.gz jquery-ui-352287b7efeaf400463eae637a2230a350c6e2d9.zip |
core: this fixes the Safari issue that select options can't be selected if the mouse widget is used, since the mousedown returns false which calls preventDefault. Returning true causes text to be selectable in FF/Opera though, so this needs to be Safari only for now.
Diffstat (limited to 'ui')
-rw-r--r-- | ui/ui.core.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index 29df97609..f669e58c7 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -455,7 +455,7 @@ $.ui.mouse = { .bind('mousemove.'+this.widgetName, this._mouseMoveDelegate) .bind('mouseup.'+this.widgetName, this._mouseUpDelegate); - return false; + return $.browser.safari; //Fix for safari to allow selecting select options }, _mouseMove: function(event) { |