Skip to content

Commit

Permalink
Stop listening to history changes after job submission
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jun 5, 2018
1 parent 5ddb6fc commit 43d23b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/galaxy/scripts/mvc/tool/tool-form-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ export default FormBase.extend({
self.deferred.reset();
self.deferred.execute(process => {
self.model.get("postchange")(process, self);
if (self.model.get("listen_to_history")) {
process.then(() => {
self.stopListening(parent.Galaxy.currHistoryPanel.collection);
});
}
});
}
});
Expand Down

0 comments on commit 43d23b2

Please sign in to comment.