--- a/src/js/serializers/PlatformSerializer.js Tue Apr 24 20:25:40 2012 +0200
+++ b/src/js/serializers/PlatformSerializer.js Thu Apr 26 19:18:57 2012 +0200
@@ -97,7 +97,9 @@
_res.setEnd(_data.end);
_res.creator = _data.meta["dc:creator"] || "";
_res.project = _data.meta.project || "";
- _res.source = _data.meta["dc:source"] || {};
+ if (typeof _data.meta["dc:source"] !== "undefined" && typeof _data.meta["dc:source"].content !== "undefined") {
+ _res.source = JSON.parse(_data.meta["dc:source"].content);
+ }
return _res;
},
serializer : function(_data, _source) {