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.

This commit is contained in:
Paul Bakaus 2008-11-19 15:20:36 +00:00
parent c3df1b6df6
commit 352287b7ef

View File

@ -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) {