Skip to content

Commit

Permalink
Persist manually added runtimes, refs noflo/noflo-nodejs#105
Browse files Browse the repository at this point in the history
  • Loading branch information
bergie committed Feb 20, 2017
1 parent 72ca9c2 commit 558533d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions elements/noflo-main.html
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,7 @@ <h2>{{ label }}</h2>
var dialog = document.createElement('noflo-new-runtime');
dialog.addEventListener('addRuntime', function(event) {
var runtime = event.detail;
this.userRuntimes.push(runtime);
this.runtimes.push(runtime);
this.fire('runtime', event.detail);
}.bind(this));
dialog.user = this.user;
document.body.appendChild(dialog);
Expand Down

0 comments on commit 558533d

Please sign in to comment.