diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-10-13 17:24:52 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-10-13 17:24:52 +0200 |
commit | cdc13868852ee91158c78ca4877a2c4653ac0931 (patch) | |
tree | c3397345b56cf033948e91abad5570af7aa4ccf7 /apps/files | |
parent | 3891cd9068596481cf1717e9b1a5bcae1cc0ce09 (diff) | |
download | nextcloud-server-cdc13868852ee91158c78ca4877a2c4653ac0931.tar.gz nextcloud-server-cdc13868852ee91158c78ca4877a2c4653ac0931.zip |
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.
Diffstat (limited to 'apps/files')
-rw-r--r-- | apps/files/js/filelist.js | 2 |
1 files changed, 2 insertions, 0 deletions
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); |