Overwrite existing DNS records in repair
This commit is contained in:
@@ -866,7 +866,9 @@ angular.module('Application').controller('AppController', ['$scope', '$location'
|
||||
if ($scope.app.error.domain) {
|
||||
data.location = $scope.repair.location;
|
||||
data.domain = $scope.repair.domain.domain;
|
||||
data.alternateDomains = $scope.repair.alternateDomains.filter(function (a) { return a.enabled; }).map(function (d) { return { subdomain: d.subdomain, domain: d.domain.domain })
|
||||
data.alternateDomains = $scope.repair.alternateDomains.filter(function (a) { return a.enabled; })
|
||||
.map(function (d) { return { subdomain: d.subdomain, domain: d.domain.domain }; });
|
||||
data.overwriteDns = true; // always overwriteDns. user can anyway check and uncheck above
|
||||
}
|
||||
|
||||
if ($scope.app.error.backupId) {
|
||||
|
||||
Reference in New Issue
Block a user