##// END OF EJS Templates
Dates are JavaScript objects, and _pack_models returns an empty object
Sylvain Corlay -
Show More
@@ -236,7 +236,8 b' define(["widgets/js/manager",'
236 packed.push(that._pack_models(sub_value));
236 packed.push(that._pack_models(sub_value));
237 });
237 });
238 return packed;
238 return packed;
239
239 } else if (value instanceof Date) {
240 return value;
240 } else if (value instanceof Object) {
241 } else if (value instanceof Object) {
241 packed = {};
242 packed = {};
242 _.each(value, function(sub_value, key) {
243 _.each(value, function(sub_value, key) {
General Comments 0
You need to be logged in to leave comments. Login now