force reload the webadmin on cert upload

This commit is contained in:
Johannes Zellner
2015-11-05 18:38:08 +01:00
parent 766fc49f39
commit 857c5c69b1

View File

@@ -87,6 +87,9 @@ angular.module('Application').controller('CertsController', ['$scope', '$locatio
}
$scope.adminCert.busy = false;
// attempt to reload to make the browser get the new certs
window.location.reload(true);
});
};
@@ -115,6 +118,9 @@ angular.module('Application').controller('CertsController', ['$scope', '$locatio
$('#collapseDnsCredentialsForm').collapse('hide');
$scope.dnsCredentials.formVisible = false;
// attempt to reload to make the browser get the new certs
window.location.reload(true);
}
$scope.dnsCredentials.busy = false;