1
0
Fork 0

graph management: links changed

This commit is contained in:
gschwab 2014-06-24 14:08:48 +02:00
parent acc2077e25
commit 44c11d3846
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@
addNewGraph: function(e) { addNewGraph: function(e) {
e.preventDefault(); e.preventDefault();
this.createNewGraphModal(); this.createNewGraphModal2();
}, },
deleteGraph: function(e) { deleteGraph: function(e) {
@ -54,7 +54,7 @@
this.collection.fetch(); this.collection.fetch();
this.graphToEdit = this.evaluateGraphName($(e.currentTarget).attr("id"), '_settings'); this.graphToEdit = this.evaluateGraphName($(e.currentTarget).attr("id"), '_settings');
var graph = this.collection.findWhere({_key: this.graphToEdit}); var graph = this.collection.findWhere({_key: this.graphToEdit});
this.createEditGraphModal(this.graphToEdit, graph.get("vertices"), graph.get("edges")); this.createEditGraphModal2(this.graphToEdit, graph.get("vertices"), graph.get("edges"));
}, },
info : function(e) { info : function(e) {