From 664e7a3fc2e1ee4ea82026cfadbf17f34570ad6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Friedrich=20Dreyer?= Date: Mon, 25 Feb 2013 15:08:14 +0100 Subject: [PATCH] use distance option to delay dragging in sane browsers --- apps/files/js/files.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/files/js/files.js b/apps/files/js/files.js index 74b2e48fb0..6b9b23657d 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -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 ) {