mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-23 05:49:31 +00:00
(js) Deep copy by default in Calendar.$omit
This commit is contained in:
@@ -619,7 +619,7 @@
|
||||
angular.forEach(this, function(value, key) {
|
||||
if (key != 'constructor' &&
|
||||
key[0] != '$') {
|
||||
calendar[key] = value;
|
||||
calendar[key] = angular.copy(value);
|
||||
}
|
||||
});
|
||||
return calendar;
|
||||
|
||||
Reference in New Issue
Block a user