Merge pull request #1889 from owncloud/use_distance_option

use distance option to delay dragging in sane browsers
This commit is contained in:
Thomas Müller 2013-02-25 07:33:11 -08:00
commit 638de02be4
1 changed files with 4 additions and 0 deletions

View File

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