Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2015-10-13 18:24:52 +0300
committerVincent Petry <pvince81@owncloud.com>2015-10-13 18:24:52 +0300
commitcdc13868852ee91158c78ca4877a2c4653ac0931 (patch)
treec3397345b56cf033948e91abad5570af7aa4ccf7 /apps/files
parent3891cd9068596481cf1717e9b1a5bcae1cc0ce09 (diff)
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.js2
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);