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 @@ ...@@ -5523,18 +5523,24 @@
// generateFormElement // generateFormElement
$(form_element).validVal({ $(form_element).validVal({
validate: { "validate": {
onKeyup: "valid", "onKeyup": "valid",
onBlur: "valid" "onBlu": "valid"
},
"fields": {
"hidden": true
}, },
//customValidations: util.declareJS(), //customValidations: util.declareJS(),
form: { "form": {
onInvalid: function () { "onInvalid": function () {
util.return_out(); 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