Clear acknowledged errors server-side as well (fixes #128)

This commit is contained in:
Jakob Borg
2014-04-16 16:30:49 +02:00
parent 622568c327
commit a98d75edaa
3 changed files with 9 additions and 1 deletions

View File

@@ -334,6 +334,7 @@ syncthing.controller('SyncthingCtrl', function ($scope, $http) {
$scope.clearErrors = function () {
$scope.seenError = $scope.errors[$scope.errors.length - 1].Time;
$http.post('/rest/error/clear');
};
$scope.friendlyNodes = function (str) {