client/js/models.js
changeset 449 aae670254c49
parent 435 e529b633c339
child 455 18b9be54174d
--- a/client/js/models.js	Wed May 20 10:32:26 2015 +0200
+++ b/client/js/models.js	Wed May 20 10:36:37 2015 +0200
@@ -100,9 +100,8 @@
                         .get("_id") : null,
                 size : this.get("size"),
                 clip_path : this.get("clip_path"),
-                shape : this.get("shape"),
-                type : this.get("type"),
-                hidden : this.get("hidden")
+                shape : this.get("shape"),  
+                type : this.get("type")
             };
         }
     });
@@ -183,7 +182,8 @@
                 title : this.get("title"),
                 description : this.get("description"),
                 created_by : this.get("created_by") ? this.get("created_by")
-                        .get("_id") : null
+                        .get("_id") : null,
+                hidden_nodes: this.get("hidden_nodes")
             // Don't need project id
             };
         }