Re-work the configure dialog

This commit is contained in:
Girish Ramakrishnan
2018-05-24 13:53:30 -07:00
parent 0b5bd0b4cd
commit 9d9f16e948
2 changed files with 143 additions and 138 deletions

View File

@@ -314,7 +314,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
$scope.appRestoreForm.$setUntouched();
};
document.getElementById('appConfigureCertificateFileInput').onchange = function (event) {
$scope.readCertificate = function (event) {
$scope.$apply(function () {
$scope.appConfigure.certificateFile = null;
$scope.appConfigure.certificateFileName = event.target.files[0].name;
@@ -328,7 +328,7 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
});
};
document.getElementById('appConfigureKeyFileInput').onchange = function (event) {
$scope.readKey = function (event) {
$scope.$apply(function () {
$scope.appConfigure.keyFile = null;
$scope.appConfigure.keyFileName = event.target.files[0].name;