gui: Move discovery failures to modal (fixes #2344)

GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/4048
LGTM: calmh, AudriusButkevicius
This commit is contained in:
Sacheendra Talluri
2017-03-20 13:55:08 +00:00
committed by Audrius Butkevicius
parent 3e49b73f70
commit ee92ee0190
4 changed files with 30 additions and 2 deletions

View File

@@ -999,6 +999,10 @@ angular.module('syncthing.core')
}
};
$scope.showDiscoveryFailures = function () {
$('#discovery-failures').modal();
};
$scope.editSettings = function () {
// Make a working copy
$scope.tmpOptions = angular.copy($scope.config.options);