Add custom form utils mixin to forms for educational background and position history.
This commit is contained in:
parent
da9f7ee0c4
commit
bdc0bbfeae
2 changed files with 14 additions and 11 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue