Permalink
Browse files

Trying to fix the call to delete_job subroutine. Still doesn't seem t…

…o be working though.
  • Loading branch information...
1 parent 7c87c95 commit 01476a03d4afcdf5caf02f9bb091b7f49c5bb263 @jaredbischof jaredbischof committed Dec 19, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/MGRAST/lib/WebPage/MetagenomeOverview.pm
View
4 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();
+ $self->delete_job($job->job_id);
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 01476a0

Please sign in to comment.