From cdc13868852ee91158c78ca4877a2c4653ac0931 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Tue, 13 Oct 2015 17:24:52 +0200 Subject: Hide notification on delete In case a permanent notification "storage full" was displayed, it will be hidden after deleting a file. Directly after that a getstoragestats.php call is made that will decide whether to reshow the notification based on the new free space. --- apps/files/js/filelist.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 6cf82391baf..7c9ae01bffe 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -2011,6 +2011,8 @@ self.fileSummary.update(); self.updateSelectionSummary(); self.updateStorageStatistics(); + // in case there was a "storage full" permanent notification + OC.Notification.hide(); } else { if (result.status === 'error' && result.data.message) { OC.Notification.show(result.data.message); -- cgit v1.2.3