|
@@ -65,7 +65,7 @@ function (angular, $, _, moment) {
|
|
|
|
|
|
|
|
// cleans meta data and other non peristent state
|
|
// cleans meta data and other non peristent state
|
|
|
p.getSaveModelClone = function() {
|
|
p.getSaveModelClone = function() {
|
|
|
- var copy = angular.copy(this);
|
|
|
|
|
|
|
+ var copy = $.extend(true, {}, this);
|
|
|
delete copy.meta;
|
|
delete copy.meta;
|
|
|
return copy;
|
|
return copy;
|
|
|
};
|
|
};
|