diff options
author | Georg Ehrke <georg@ownCloud.com> | 2013-05-27 16:37:43 +0200 |
---|---|---|
committer | Georg Ehrke <georg@ownCloud.com> | 2013-05-27 17:07:39 +0200 |
commit | 0cf6e5693a07d2688cd4a09097ed33efd5130caf (patch) | |
tree | 0dd6663d94c1cb7e24ffa32b6ad2ad79376462fe /apps/files_trashbin/js/trash.js | |
parent | 55e4e054d6ff62e6e1232f66184dd534dce1af00 (diff) | |
download | nextcloud-server-0cf6e5693a07d2688cd4a09097ed33efd5130caf.tar.gz nextcloud-server-0cf6e5693a07d2688cd4a09097ed33efd5130caf.zip |
add event.preventDefault to undelete function
Diffstat (limited to 'apps/files_trashbin/js/trash.js')
-rw-r--r-- | apps/files_trashbin/js/trash.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js index 39e76e10c9c..668313c358f 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); |