mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-23 23:22:45 +00:00
(js) Deep copy by default in Calendar.$omit
This commit is contained in:
1
NEWS
1
NEWS
@@ -6,6 +6,7 @@ Enhancements
|
||||
|
||||
Bug fixes
|
||||
- [web] include mail account name in form validation (#4532)
|
||||
- [web] calendar properties were not completely reset on cancel
|
||||
|
||||
4.0.2 (2018-08-24)
|
||||
------------------
|
||||
|
||||
@@ -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