From 352287b7efeaf400463eae637a2230a350c6e2d9 Mon Sep 17 00:00:00 2001 From: Paul Bakaus Date: Wed, 19 Nov 2008 15:20:36 +0000 Subject: 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. --- ui/ui.core.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') 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) { -- cgit v1.2.3