aboutsummaryrefslogtreecommitdiffstats
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 17:07:45 +0200
commitc872042616b5f90770c73722766607d38b092b6f (patch)
tree519d7b915a1b25059b1a59bf64740adffb62e48b
parent0cf6e5693a07d2688cd4a09097ed33efd5130caf (diff)
downloadnextcloud-server-c872042616b5f90770c73722766607d38b092b6f.tar.gz
nextcloud-server-c872042616b5f90770c73722766607d38b092b6f.zip
fix https://github.com/owncloud/core/issues/3320
-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 668313c358f..21a6da388cf 100644
--- a/apps/files_trashbin/js/trash.js
+++ b/apps/files_trashbin/js/trash.js
@@ -118,6 +118,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');