var reg = 'trg_input_config' + i;
var areg = 'trg_input_mux' + (i-source_from);
var source;
+ var downscaleparams = {'class': 'text autocommit autoupdate', 'slice': reg + '.downscale'};
+ if (noavail == " noavail") downscaleparams = {'class': 'text'};
+
$('inputs-tab')
.adopt(
new Element('tr', {'class': i%2?'':'alt', 'flashgroup': 'itc-' + (i + parseInt(this.defs.properties.trg_input_itc_base))})
),
new Element('td', {'class': 'downscale'+noavail})
.adopt([
- new Element('input', {'class': 'text autocommit autoupdate', 'slice': reg + '.downscale'})
+ new Element('input', downscaleparams)
]),
])
);