forked from lix-project/hydra
parent
2d8f2503c5
commit
024a5e7d75
1 changed files with 1 additions and 1 deletions
|
@ -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-(\w+)-(\w+)$/);
|
var match = elem.name.match(/^input-([A-Za-z][\w-]*)-(\w+)$/);
|
||||||
if (match === null) {
|
if (match === null) {
|
||||||
data[elem.name] = elem.value;
|
data[elem.name] = elem.value;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue