add event.preventDefault to undelete function

This commit is contained in:
Georg Ehrke 2013-05-27 16:37:43 +02:00
parent d408cd7f37
commit 841b420bc4

View file

@ -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);