Permalink
Browse files

Put job_id in wrong location.

  • Loading branch information...
1 parent f41bcf8 commit 6f3cb977f364df6d2b162d1cf5b8ad8d2c09ba2a @jaredbischof jaredbischof committed Dec 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/MGRAST/lib/WebPage/MetagenomeOverview.pm
@@ -132,13 +132,13 @@ sub output {
exit;
}
- my $job = $self->data('job');
my $non_ajax_action = $self->application->cgi->param('non_ajax_action') || '';
if($non_ajax_action eq 'delete_job') {
- $self->delete_job($job->job_id);
+ $self->delete_job();
return "";
}
+ my $job = $self->data('job');
my $mgdb = $self->data('mgdb');
my $mddb = $self->data('mddb');
my $user = $self->application->session->user;

0 comments on commit 6f3cb97

Please sign in to comment.