Skip to content
This repository has been archived by the owner on Dec 17, 2017. It is now read-only.

Commit

Permalink
When erroring, mock-click the stop button, since we can't update an e…
Browse files Browse the repository at this point in the history
…rrored graph
  • Loading branch information
glasnt committed Dec 11, 2014
1 parent cf21f12 commit 5b98c2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/javascripts/clizia/graphs.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ Clizia.Graph = function(args) {
error_alert += "</div>";
graph.append(error_alert)

stopButtonClick()

graph.addClass("error")
} else if (args.state === "complete") {
rmv_wait()
Expand Down

0 comments on commit 5b98c2a

Please sign in to comment.