Add repair button to error dialog and improve dns error message

This commit is contained in:
Johannes Zellner
2017-08-01 11:42:20 +02:00
parent 70a3cdc9bc
commit 99cfe564ae
3 changed files with 20 additions and 3 deletions

View File

@@ -94,6 +94,14 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
};
$scope.reset = function () {
// close all dialogs
$('#appErrorModal').modal('hide');
$('#appConfigureModal').modal('hide');
$('#appRestoreModal').modal('hide');
$('#appUpdateModal').modal('hide');
$('#appPostInstallModal').modal('hide');
$('#appUninstallModal').modal('hide');
// reset configure dialog
$scope.appConfigure.error = {};
$scope.appConfigure.app = {};