diff -r 267d67791e05 -r 01fb9167ad75 server/src/main/webapp/static/js/models.js --- a/server/src/main/webapp/static/js/models.js Tue Dec 25 21:29:11 2012 +0100 +++ b/server/src/main/webapp/static/js/models.js Mon Dec 31 12:19:10 2012 +0100 @@ -165,22 +165,22 @@ }, } ], - addUser: function(_props) { + addUser: function(_props, _options) { _props.project = this; var _user = new User(_props); - this.get("users").push(_user); + this.get("users").push(_user, _options); return _user; }, - addNode: function(_props) { + addNode: function(_props, _options) { _props.project = this; var _node = new Node(_props); - this.get("nodes").push(_node); + this.get("nodes").push(_node, _options); return _node; }, - addEdge: function(_props) { + addEdge: function(_props, _options) { _props.project = this; var _edge = new Edge(_props); - this.get("edges").push(_edge); + this.get("edges").push(_edge, _options); return _edge; }, removeNode: function(_model) {