Reset the dns error states on resubmission

This commit is contained in:
Johannes Zellner
2017-04-03 22:36:02 +02:00
parent b9711d7b47
commit 89d36b8ad4

View File

@@ -33,6 +33,8 @@ app.controller('SetupDNSController', ['$scope', '$http', 'Client', 'ngTld', func
$scope.setDnsCredentials = function () {
$scope.dnsCredentials.busy = true;
$scope.dnsCredentials.error = null;
$scope.error = null;
var data = {
domain: $scope.dnsCredentials.domain,