[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bacula-commits
Subject:    [Bacula-commits] SF.net SVN: bacula: [6144] trunk/gui/bweb
From:       ricozz () users ! sourceforge ! net
Date:       2007-12-27 10:46:20
Message-ID: E1J7qFo-0001wn-F3 () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

Revision: 6144
          http://bacula.svn.sourceforge.net/bacula/?rev=6144&view=rev
Author:   ricozz
Date:     2007-12-27 02:46:20 -0800 (Thu, 27 Dec 2007)

Log Message:
-----------
ebl  Fix a couple of bug

Modified Paths:
--------------
    trunk/gui/bweb/lib/GBalloon.pm
    trunk/gui/bweb/technotes-2.3

Modified: trunk/gui/bweb/lib/GBalloon.pm
===================================================================
--- trunk/gui/bweb/lib/GBalloon.pm	2007-12-26 10:44:18 UTC (rev 6143)
+++ trunk/gui/bweb/lib/GBalloon.pm	2007-12-27 10:46:20 UTC (rev 6144)
@@ -57,8 +57,9 @@
 
 	x_min => 0,
 	y_min => 0,
-	x_max => 0,
-	y_max => 0,
+	x_max => 1,
+	y_max => 1,
+	z_max => 1,
 
         data       => [],
         type       => {},
@@ -159,7 +160,7 @@
     return unless (scalar(@data));
 
     # the max z will take something like 10% of the total size
-    $self->{z_max} = sqrt($data[0]->[2]);
+    $self->{z_max} = sqrt($data[0]->[2]) || 1;
     my $c=0;
 
 #   print STDERR "max: x=$self->{x_max} y=$self->{y_max} z=$self->{z_max}\n";

Modified: trunk/gui/bweb/technotes-2.3
===================================================================
--- trunk/gui/bweb/technotes-2.3	2007-12-26 10:44:18 UTC (rev 6143)
+++ trunk/gui/bweb/technotes-2.3	2007-12-27 10:46:20 UTC (rev 6144)
@@ -1,3 +1,7 @@
+27Dec07
+ebl  Fix a couple of small bug in GBalloon module when
+     we don't find any valid job
+
 23Dec07
 ebl  Each user can have a different template dir (lang).
 ebl  WARNING: now, bweb/tpl contains main tpl files


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-commits mailing list
Bacula-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic