Browse Source

Small Web UI JS code simplification

adaptive-webui-19844
Christophe Dumez 13 years ago
parent
commit
a46f665dd4
  1. 2
      src/webui/scripts/dynamicTable.js

2
src/webui/scripts/dynamicTable.js

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

Loading…
Cancel
Save