mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-22 02:02:14 +00:00
update
This commit is contained in:
parent
41e3beff8d
commit
efc4e3f0a5
@ -204,8 +204,7 @@ angular.module('controller.records', [])
|
||||
$scope.currentRecord.recordSetGroupChange.requestedOwnerGroupId = angular.copy(record.ownerGroupId);
|
||||
$scope.currentRecord.recordSetGroupChange.ownerShipTransferStatus = angular.copy("AutoApproved");
|
||||
}
|
||||
$scope.currentRecord.recordSetGroupChange.ownerShipTransferStatus = angular.copy("AutoApproved")
|
||||
|
||||
$scope.currentRecord.recordSetGroupChange.ownerShipTransferStatus = angular.copy("AutoApproved");
|
||||
$scope.recordModal = {
|
||||
action: $scope.recordModalState.UPDATE,
|
||||
title: "Request OwnerShip transfer",
|
||||
@ -227,7 +226,6 @@ angular.module('controller.records', [])
|
||||
$scope.currentRecord.recordSetGroupChange.ownerShipTransferStatus = angular.copy("AutoApproved");
|
||||
}
|
||||
$scope.currentRecord.recordSetGroupChange = angular.copy(record.recordSetGroupChange);
|
||||
|
||||
$scope.recordModal = {
|
||||
previous: angular.copy(record),
|
||||
action: $scope.recordModalState.UPDATE,
|
||||
@ -328,7 +326,7 @@ angular.module('controller.records', [])
|
||||
};
|
||||
|
||||
$scope.submitUpdateRecord = function () {
|
||||
var record = angular.copy($scope.currentRecord)
|
||||
var record = angular.copy($scope.currentRecord);
|
||||
if(record.recordSetGroupChange.requestedOwnerGroupId != undefined){
|
||||
if (record.ownerGroupId != $scope.recordModal.previous.ownerGroupId && $scope.isZoneAdmin){
|
||||
record.recordSetGroupChange.requestedOwnerGroupId = angular.copy(record.ownerGroupId);
|
||||
|
Loading…
x
Reference in New Issue
Block a user