mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-30 05:47:56 +00:00
fix for undefined issue in ownership transfer
This commit is contained in:
parent
cb9784515f
commit
6e5bb9a6f2
@ -233,10 +233,8 @@ angular.module('controller.records', [])
|
|||||||
|
|
||||||
$scope.requestOwnerShipTransfer = function(record, isOwnerShipRequest) {
|
$scope.requestOwnerShipTransfer = function(record, isOwnerShipRequest) {
|
||||||
$scope.currentRecord = angular.copy(record);
|
$scope.currentRecord = angular.copy(record);
|
||||||
if ($scope.currentRecord.recordSetGroupChange == undefined){
|
if (record.recordSetGroupChange == undefined){
|
||||||
$scope.currentRecord.recordSetGroupChange = {}
|
record.recordSetGroupChange = {}
|
||||||
$scope.currentRecord.recordSetGroupChange.requestedOwnerGroupId = angular.copy(record.ownerGroupId);
|
|
||||||
$scope.currentRecord.recordSetGroupChange.ownerShipTransferStatus = angular.copy("AutoApproved");
|
|
||||||
}
|
}
|
||||||
$scope.currentRecord.recordSetGroupChange = angular.copy(record.recordSetGroupChange);
|
$scope.currentRecord.recordSetGroupChange = angular.copy(record.recordSetGroupChange);
|
||||||
$scope.recordModal = {
|
$scope.recordModal = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user