Skip to content

Commit

Permalink
Fixing the deployment backbone models to cancel all pending steps if …
Browse files Browse the repository at this point in the history
…the first step is cancelled due to the repository info being incorrect
  • Loading branch information
REBELinBLUE committed Apr 8, 2015
1 parent db53d87 commit 7a288ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/assets/js/deployment.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ var app = app || {};
that.poller.start();
});
}
else if (parseInt(this.get('status')) === FAILED) {
else if (parseInt(this.get('status')) === FAILED || parseInt(this.get('status')) === CANCELLED) {
_.each(app.Deployment.models, function(remaining) {
if (parseInt(remaining.get('status')) === PENDING) {
remaining.set({
Expand Down

0 comments on commit 7a288ef

Please sign in to comment.