diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-11 18:58:52 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-11 18:58:52 +0200 |
| commit | 1dbcb39d759845cee56465104ac7d8ca763162ce (patch) | |
| tree | 3276007584c45fe4033414189df1244ba2f811f0 /src/client/model | |
| parent | c09a8a4073ec661e0fda435da07606399ed871b9 (diff) | |
client/graph: fix node attr_diff return path
Diffstat (limited to 'src/client/model')
| -rw-r--r-- | src/client/model/graph.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/model/graph.js b/src/client/model/graph.js index dfa571ed..73617734 100644 --- a/src/client/model/graph.js +++ b/src/client/model/graph.js @@ -460,7 +460,10 @@ function Graph(spec) { } // TODO: handle NAK: add problem emblem to node - on_success(); + if (on_success !== undefined) { + on_success(); + } + diffBus.push(attr_diff); }; var on_ajax_error = function(){ |
