r970 - trunk/ui
r970 - trunk/ui
Author: paul.bakaus
Date: Wed Nov 19 07:20:36 2008
New Revision: 970
Modified:
trunk/ui/ui.core.js
Log:
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.
Modified: trunk/ui/ui.core.js
==============================================================================
--- trunk/ui/ui.core.js (original)
+++ trunk/ui/ui.core.js Wed Nov 19 07:20:36 2008
@@ -455,7 +455,7 @@
.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) {