client/js/model.js
changeset 5 67085e6281e5
parent 4 f5297dde9053
--- a/client/js/model.js	Fri Jul 27 19:15:32 2012 +0200
+++ b/client/js/model.js	Mon Jul 30 17:52:13 2012 +0200
@@ -52,6 +52,7 @@
 Rkns.Model.Node.prototype._init = function(_project, _props) {
     this.addReference("created_by", this._project.users, _props.created_by, _project.current_user);
     this.position = _props.position;
+    this.description = _props.description || "";
 }
 
 Rkns.Model.Node.prototype.setPosition = function(_x, _y) {