Small Web UI JS code simplification

This commit is contained in:
Christophe Dumez 2011-09-21 21:10:12 +03:00
parent e5e254a184
commit a46f665dd4

View File

@ -379,7 +379,7 @@ var dynamicTable = new Class ({
for(var i=0; i<row.length; i++) {
if(i==1) continue; // Do not refresh name
if(i==this.progressIndex) {
$('pb_'+id).setValue(row[i].toFloat());
$('pb_'+id).setValue(row[i]);
} else {
if(i==0) {
tds[i].getChildren('img')[0].set('src', row[i]);