From: Eric Bollengier Date: Tue, 28 Jul 2009 14:52:29 +0000 (+0000) Subject: Display the job_zoom view when backup is finished X-Git-Tag: Release-5.0.0~448 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=582138f8cf0fbe8cbfba71ae7d89a092b8c94a25;p=bacula%2Fbacula Display the job_zoom view when backup is finished git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@9114 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/gui/bweb/lib/Bweb.pm b/gui/bweb/lib/Bweb.pm index c7f0b4d37f..d266636154 100644 --- a/gui/bweb/lib/Bweb.pm +++ b/gui/bweb/lib/Bweb.pm @@ -4027,7 +4027,6 @@ WHERE Job.JobId = $arg->{jobid} "; my $row = $self->dbh_selectrow_hashref($query); - my $status = $row->{jobstatus}; if ($row) { $arg->{client} = $row->{name}; @@ -4035,6 +4034,14 @@ WHERE Job.JobId = $arg->{jobid} return $self->error("Can't get client"); } + my $status = $row->{jobstatus}; + + if ($status =~ /[TfAaEWD]/) { + $bweb->display_job_zoom($arg->{jobid}); + $bweb->get_job_log(); + return; + } + if ($row->{type} eq 'B') { # for jobfiles, we use only last Full backup. status client= returns # all files that have been checked diff --git a/gui/bweb/technotes-3.0 b/gui/bweb/technotes-3.0 index 1a1e11bc66..8499c49ea8 100644 --- a/gui/bweb/technotes-3.0 +++ b/gui/bweb/technotes-3.0 @@ -1,3 +1,5 @@ +28Jul09 +ebl Display the job_zoom view when backup is finished 24Jul09 ebl Fix Expired option in media list to select Used media 23Jul09