diff options
author | Björn Schießle <bjoern@schiessle.org> | 2013-05-27 08:04:55 -0700 |
---|---|---|
committer | Björn Schießle <bjoern@schiessle.org> | 2013-05-27 08:04:55 -0700 |
commit | f8d1c32112c919bbdfc89a35d77ea84412800470 (patch) | |
tree | a695ea285b663b157bde95a41b64fdb73ae03903 /apps | |
parent | c6d6925b78ea1b852a50d1ecf0e9f25980d78a0a (diff) | |
parent | 841b420bc49d0a50e030279b68c27f6c05446c34 (diff) | |
download | nextcloud-server-f8d1c32112c919bbdfc89a35d77ea84412800470.tar.gz nextcloud-server-f8d1c32112c919bbdfc89a35d77ea84412800470.zip |
Merge pull request #3506 from owncloud/fix_3320
fix https://github.com/owncloud/core/issues/3320
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/js/trash.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js index eed253d6602..691642811b7 100644 --- a/apps/files_trashbin/js/trash.js +++ b/apps/files_trashbin/js/trash.js @@ -93,6 +93,7 @@ $(document).ready(function() { }); $('.undelete').click('click',function(event) { + event.preventDefault(); var spinner = '<img class="move2trash" title="'+t('files_trashbin', 'perform restore operation')+'" src="'+ OC.imagePath('core', 'loader.gif') +'"></a>'; var files=getSelectedFiles('file'); var fileslist = JSON.stringify(files); @@ -117,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'); |