[Pkg-owncloud-commits] [owncloud] 16/129: Hide notification on delete
David Prévot
taffit at moszumanska.debian.org
Thu Nov 5 01:04:18 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch stable8
in repository owncloud.
commit 71144522c96dab277ca91863052f07713a1acf33
Author: Vincent Petry <pvince81 at owncloud.com>
Date: Tue Oct 13 17:24:52 2015 +0200
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 6cf8239..7c9ae01 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);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list