Closed GoogleCodeExporter closed 9 years ago
index.php, line 70 should be changed from:
echo " Disk Free: <span class='inline'
id='glob_diskfree'>".format_bytes($rates[0]['diskspace'])."</span> /
".format_bytes(disk_total_space($downloaddir))."
(".(round($rates[0]['diskspace']/disk_total_space($downloaddir)*100))."%)\n";
to:
echo " Disk Free: <span class='inline'
id='glob_diskfree'>".format_bytes($rates[0]['diskspace'])."
(".(round($rates[0]['diskspace']/disk_total_space($downloaddir)*100))."%)</span>
/
".format_bytes(disk_total_space($downloaddir))."\n";
Javascript is updating the span, while the initial percentage is outside of it;
thus
the strange-ness.
Original comment by llamaXxX@gmail.com
on 16 Sep 2008 at 2:43
Yup - and thanks to Llama for supplying the fix to my bad code :)
Will be fixed in next version...
-Simon
Original comment by lemonbe...@gmail.com
on 18 Sep 2008 at 6:05
Fixed in 0.2.6
Original comment by lemonbe...@gmail.com
on 5 Dec 2008 at 10:26
Original issue reported on code.google.com by
andrei.s...@gmail.com
on 14 Sep 2008 at 11:56