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.
This commit is contained in:
parent
3891cd9068
commit
cdc1386885
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue