Commit f674daf7 authored by Sven Franck's avatar Sven Franck

app: NOT-fix form updates when refreshing a dyno/gadget (id still undefined)

parent 23808364
......@@ -5523,18 +5523,24 @@
// generateFormElement
$(form_element).validVal({
validate: {
onKeyup: "valid",
onBlur: "valid"
"validate": {
"onKeyup": "valid",
"onBlu": "valid"
},
"fields": {
"hidden": true
},
//customValidations: util.declareJS(),
form: {
onInvalid: function () {
"form": {
"onInvalid": function () {
util.return_out();
}
}
});
}
} /*else {
// TODO: AAAARGH! so much jquery...
$(form_element).trigger("addField", $(form_element).find(".required"));
}*/
}
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment