summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/model/graph.js2
-rw-r--r--src/rz_core.js1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/model/graph.js b/src/model/graph.js
index 5268a007..d8601905 100644
--- a/src/model/graph.js
+++ b/src/model/graph.js
@@ -353,7 +353,6 @@ function Graph() {
} else {
index.name = new_name;
}
- rz_bus.names.push([new_name]);
}
this.editDates = function(id, type, start, end) {
@@ -595,7 +594,6 @@ function Graph() {
data.links.forEach(function(link) {
that.addLink(link.__src, link.__dst, link.name, "perm");
});
- rz_bus.names.push(added_names);
this.clear_history();
}
diff --git a/src/rz_core.js b/src/rz_core.js
index 176f2855..6eaeb557 100644
--- a/src/rz_core.js
+++ b/src/rz_core.js
@@ -89,6 +89,7 @@ var svgInput = (function() {
} else {
graph.editName(d.id, newname);
}
+ rz_bus.names.push([newname]);
update_view__graph(true);
}
}