Fix adding jobset inputs

This commit is contained in:
Shea Levy 2014-03-06 08:22:59 -05:00
parent 5fe09e9bf0
commit d087aeb0d9

View file

@ -183,7 +183,7 @@
var inputs = {}; var inputs = {};
for (var i = 0; i < formElements.length; i++) { for (var i = 0; i < formElements.length; i++) {
var elem = formElements[i]; var elem = formElements[i];
var match = elem.name.match(/^input-([A-Za-z][\w-]*)-(\w+)$/); var match = elem.name.match(/^input-([\w-]+)-(\w+)$/);
if (match === null) { if (match === null) {
data[elem.name] = elem.value; data[elem.name] = elem.value;
} else { } else {