gui: Add upgrade confirmation dialog (fixes #5887) (#6167)

This commit is contained in:
Ruslan Yevdokymov
2019-11-19 22:05:41 +01:00
committed by Jakob Borg
parent df866e10c8
commit c1db8b2680
3 changed files with 21 additions and 1 deletions

View File

@@ -1387,6 +1387,7 @@ angular.module('syncthing.core')
$scope.upgrade = function () {
restarting = true;
$('#upgrade').modal('hide');
$('#majorUpgrade').modal('hide');
$('#upgrading').modal();
$http.post(urlbase + '/system/upgrade').success(function () {