From 841b420bc49d0a50e030279b68c27f6c05446c34 Mon Sep 17 00:00:00 2001 From: Georg Ehrke Date: Mon, 27 May 2013 16:37:43 +0200 Subject: [PATCH] add event.preventDefault to undelete function --- apps/files_trashbin/js/trash.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files_trashbin/js/trash.js b/apps/files_trashbin/js/trash.js index 63baa83f527..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 = ''; var files=getSelectedFiles('file'); var fileslist = JSON.stringify(files); -- 2.39.5