Add custom form utils mixin to forms for educational background and position history.

This commit is contained in:
rjy7 2010-06-14 20:06:52 +00:00
parent da9f7ee0c4
commit bdc0bbfeae
2 changed files with 14 additions and 11 deletions

View file

@ -6,6 +6,14 @@ if (!vitro) {
}
vitro.customFormUtils = {
hideForm: function() {
this.hideFields(this.form);
},
clearFormData: function() {
this.clearFields(this.form);
},
// This method should always be called instead of calling hide() directly on any
// element containing form fields.