]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl small fix
authorEric Bollengier <eric@eb.homelinux.org>
Fri, 29 Dec 2006 21:39:17 +0000 (21:39 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Fri, 29 Dec 2006 21:39:17 +0000 (21:39 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3859 91ce42f0-d328-0410-95d8-f526ca767f89

gui/bweb/cgi/bfileview.pl

index 0d9c043fabb06c42399cc25ce7227f4507aee573..ff4086e9a1ff89fec40301711c0bfeb00de65e50 100755 (executable)
@@ -76,12 +76,6 @@ if ($batch eq 'batch') {
     exit 1;
 }
 
-my $url_action = "bfileview.pl?opt_level=$opt_level" ;
-my $top = new CCircle(
-                     display_other => 1,
-                     base_url => "$url_action;$jobid_url;where=$where",
-                     ) ;
-
 print CGI::header('text/html');
 $bweb->display_begin();
 $bweb->display_job_zoom($jobid);
@@ -113,6 +107,12 @@ if (!$root) {
 
 my $total = fv_compute_size($jobid, $root);
 
+my $url_action = "bfileview.pl?opt_level=$opt_level" ;
+my $top = new CCircle(
+                     display_other => 1,
+                     base_url => "$url_action;$jobid_url;where=$where",
+                     ) ;
+
 fv_display_rep($top, $total, $root, $opt_level) ;
 
 $top->draw_labels() ;