[FIX] web: use _.clone to avoid change of 'default_value'
This commit is contained in:
@@ -736,7 +736,7 @@ var BufferedDataSet = DataSetStatic.extend({
|
||||
default_get: function(fields, options) {
|
||||
var self = this;
|
||||
return this._super(fields, options).done(function(res) {
|
||||
self.last_default_get = res;
|
||||
self.last_default_get = _.clone(res);
|
||||
});
|
||||
},
|
||||
get_cache: function (id) {
|
||||
|
||||
Reference in New Issue
Block a user