client/js/models.js
changeset 461 48235ed6b07d
parent 458 423bdf56d103
parent 455 18b9be54174d
child 622 02e3c464223f
--- a/client/js/models.js	Wed Jun 03 19:16:58 2015 +0200
+++ b/client/js/models.js	Thu Jun 04 10:04:01 2015 +0200
@@ -99,9 +99,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")
             };
         }
     });
@@ -182,7 +181,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
             };
         }