summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
diff options
context:
space:
mode:
authorGeorg Ehrke <georg@ownCloud.com>2013-05-27 15:24:37 +0200
committerGeorg Ehrke <georg@ownCloud.com>2013-05-27 15:24:37 +0200
commitd408cd7f376c6b6841fd849758c1dbb6d9f12806 (patch)
treeba6cceda50a7fef4d5aa7b48d31f09ec29041169 /apps/files_trashbin/js
parent5e243b48bb51e94daa3ba32c9175945d579040c8 (diff)
downloadnextcloud-server-d408cd7f376c6b6841fd849758c1dbb6d9f12806.tar.gz
nextcloud-server-d408cd7f376c6b6841fd849758c1dbb6d9f12806.zip
fix https://github.com/owncloud/core/issues/3320
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r--apps/files_trashbin/js/trash.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js
index eed253d6602..63baa83f527 100644
--- a/apps/files_trashbin/js/trash.js
+++ b/apps/files_trashbin/js/trash.js
@@ -117,6 +117,7 @@ $(document).ready(function() {
});
$('.delete').click('click',function(event) {
+ event.preventDefault();
console.log("delete selected");
var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'Delete permanently')+'" src="'+ OC.imagePath('core', 'loading.gif') +'"></a>';
var files=getSelectedFiles('file');