Annotations creation date is now the actual annotation creation date instead of the ensemble creation date
authordurandn
Fri, 03 Jul 2015 16:54:26 +0200
changeset 1036 3b88465041d6
parent 1035 c1bc8a2b1468
child 1037 5c0416e8bba1
Annotations creation date is now the actual annotation creation date instead of the ensemble creation date
src/js/serializers/ldt-serializer.js
--- a/src/js/serializers/ldt-serializer.js	Fri Jul 03 16:48:41 2015 +0200
+++ b/src/js/serializers/ldt-serializer.js	Fri Jul 03 16:54:26 2015 +0200
@@ -140,7 +140,7 @@
                 if (typeof _data.content.img !== "undefined" && _data.content.img.src !== "undefined") {
                     _res.thumbnail = _data.content.img.src;
                 }
-                _res.created = IriSP.Model.isoToDate(_data.meta["dc:created"]);
+                _res.created = IriSP.Model.isoToDate(_data.created);
                 if (typeof _data.color !== "undefined") {
                     var _c = parseInt(_data.color).toString(16);
                     while (_c.length < 6) {