Merge pull request #1889 from owncloud/use_distance_option
use distance option to delay dragging in sane browsers
This commit is contained in:
commit
638de02be4
|
@ -863,6 +863,10 @@ var dragOptions={
|
|||
$('#fileList tr td.filename').addClass('ui-draggable');
|
||||
}
|
||||
}
|
||||
// sane browsers support using the distance option
|
||||
if ( ! $.browser.msie) {
|
||||
dragOptions['distance'] = 20;
|
||||
}
|
||||
|
||||
var folderDropOptions={
|
||||
drop: function( event, ui ) {
|
||||
|
|
Loading…
Reference in New Issue