Skip to content

Commit

Permalink
Resetting tab number for cancelling job on back button. Closes #584
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsielicki committed Mar 10, 2016
1 parent bc988c2 commit 71adec4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ define(["slycat-server-root", "slycat-web-client", "slycat-dialog", "knockout",
var target = component.tab();

// Ask user if they want to cancel their compute job
if(component.tab() == 4 && component.matrix_type() == 'compute')
if(component.tab() == 6 && component.matrix_type() == 'compute')
{
dialog.confirm({
title: 'Stop Computing Distances?',
Expand Down

0 comments on commit 71adec4

Please sign in to comment.