SWU: Lock down UI while updating

Implements #1217
This commit is contained in:
Gina Häußge committed 2018-06-15 18:15:13 +02:00
1 parent 17c6c83503
commit fe2dbf699d
3 files changed
+5 -5

No files matched your search

@@ -399,8 +399,6 @@ $(function() {
};
self.performCheck = function(showIfNothingNew, force, ignoreSeen) {
if (!self.loginState.isAdmin() && !self.settings.settings.plugins.softwareupdate.notify_users()) return;
self.checking(true);
OctoPrint.plugins.softwareupdate.check(force)
.done(function(data) {
@@ -590,7 +588,7 @@ $(function() {
};
self._showWorkingDialog = function(title) {
if (!self.loginState.isAdmin()) {
if (!self.loginState.isAdmin() && !self.loginState.isUser()) {
return;
}