diff --git a/webadmin/src/views/settings.html b/webadmin/src/views/settings.html
index 09809644c..23bfe2129 100644
--- a/webadmin/src/views/settings.html
+++ b/webadmin/src/views/settings.html
@@ -394,7 +394,7 @@
Configure the auto-update schedule for the platform and for the installed apps:
-
{{ autoUpdate.error }}
+
{{ autoUpdate.error }}
@@ -423,7 +423,8 @@
diff --git a/webadmin/src/views/settings.js b/webadmin/src/views/settings.js
index 93bb6a51c..ac1810ccd 100644
--- a/webadmin/src/views/settings.js
+++ b/webadmin/src/views/settings.js
@@ -422,6 +422,7 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
$scope.autoUpdate = {
busy: false,
+ success: false,
error: '',
pattern: '',
currentPattern: '',
@@ -431,12 +432,14 @@ angular.module('Application').controller('SettingsController', ['$scope', '$loca
$scope.autoUpdate.error = '';
$scope.autoUpdate.busy = true;
+ $scope.autoUpdate.success = false;
Client.setAutoupdatePattern($scope.autoUpdate.pattern, function (error) {
if (error) $scope.autoUpdate.error = error.message;
else $scope.autoUpdate.currentPattern = $scope.autoUpdate.pattern;
$scope.autoUpdate.busy = false;
+ $scope.autoUpdate.success = true;
});
}
};