diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-12-17 19:01:54 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-12-17 20:19:33 -0500 |
commit | b176ce910f36a1d9f8bdf64cea94a805269ed314 (patch) | |
tree | f1edf86d879416ae5d0e2bfad05880756b16c7d9 /usr/local | |
parent | 7afb7ea90030af16cc6da390d8862a65bf11cb04 (diff) | |
download | pfsense-b176ce910f36a1d9f8bdf64cea94a805269ed314.zip pfsense-b176ce910f36a1d9f8bdf64cea94a805269ed314.tar.gz |
Honor rowsize.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/javascript/row_helper_dynamic.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/javascript/row_helper_dynamic.js b/usr/local/www/javascript/row_helper_dynamic.js index bef6120..14e2035 100755 --- a/usr/local/www/javascript/row_helper_dynamic.js +++ b/usr/local/www/javascript/row_helper_dynamic.js @@ -30,7 +30,7 @@ var addRowTo = (function() { if(typeof(rowtype[i]) == 'function') { td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input>" + rowtype[i](rowname[i], objectSize, totalrows) + " "; } else if(rowtype[i] == 'textbox') { - td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input size='" + objectSize + "' name='" + rowname[i] + totalrows + "' id='" + rowname[i] + totalrows + "'></input> "; + td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><input size='" + rowsize[i] + "' name='" + rowname[i] + totalrows + "' id='" + rowname[i] + totalrows + "'></input> "; } else if(rowtype[i] == 'select') { td.innerHTML="<INPUT type='hidden' value='" + totalrows +"' name='" + rowname[i] + "_row-" + totalrows + "'></input><select name='" + rowname[i] + totalrows + "' id='" + rowname[i] + totalrows + "'>" + newrow[i] + "</select> "; } else if(rowtype[i] == 'select_source') { |