make copy of aliases array
This commit is contained in:
+1
-1
@@ -402,7 +402,7 @@ angular.module('Application').controller('EmailController', ['$scope', '$locatio
|
|||||||
show: function (mailbox) {
|
show: function (mailbox) {
|
||||||
$scope.mailboxes.edit.name = mailbox.name;
|
$scope.mailboxes.edit.name = mailbox.name;
|
||||||
$scope.mailboxes.edit.owner = mailbox.owner; // this can be null if mailbox had no owner
|
$scope.mailboxes.edit.owner = mailbox.owner; // this can be null if mailbox had no owner
|
||||||
$scope.mailboxes.edit.aliases = mailbox.aliases;
|
$scope.mailboxes.edit.aliases = angular.copy(mailbox.aliases, []);
|
||||||
|
|
||||||
$('#mailboxEditModal').modal('show');
|
$('#mailboxEditModal').modal('show');
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user