server/src/main/webapp/static/js/models.js
changeset 56 a9b9e6c7be63
parent 54 43c35d6ca3f0
--- a/server/src/main/webapp/static/js/models.js	Mon Feb 11 12:39:35 2013 +0100
+++ b/server/src/main/webapp/static/js/models.js	Mon Feb 11 18:08:19 2013 +0100
@@ -88,6 +88,7 @@
                 description: this.get("description"),
                 position: this.get("position"),
                 image: this.get("image"),
+                color: this.get("color"),
                 created_by: this.get("created_by") ? this.get("created_by").get("_id") : null
             };
         },
@@ -128,6 +129,7 @@
                 description: this.get("description"),
                 from: this.get("from") ? this.get("from").get("_id") : null,
                 to: this.get("to") ? this.get("to").get("_id") : null,
+                color: this.get("color"),
                 created_by: this.get("created_by") ? this.get("created_by").get("_id") : null
             };
         },