NIFI-341:

- Ensuring existing selection is cleared when adding a new label to the graph.
This commit is contained in:
Matt Gilman 2015-02-12 07:09:18 -05:00
parent 685035a867
commit e0390ec3f4
1 changed files with 3 additions and 1 deletions

View File

@ -882,7 +882,9 @@ nf.CanvasToolbox = (function () {
nf.Client.setRevision(response.revision);
// add the label to the graph
nf.Label.add(response.label, true);
nf.Graph.add({
'labels': [response.label]
}, true);
// update the birdseye
nf.Birdseye.refresh();