NIHVIVO-193 Fix creation of new organization in the person has position history form. Fix typos in processRdfForm2.jsp.
This commit is contained in:
parent
2f27442d79
commit
a1c3065f8b
2 changed files with 11 additions and 4 deletions
|
@ -38,11 +38,16 @@ var customForm = {
|
|||
// Clear all form data and error messages
|
||||
$('input:text').val('');
|
||||
$('.error').text('');
|
||||
|
||||
// Remove previously bound event handlers
|
||||
//this.cancel.unbind('click');
|
||||
this.button.unbind('click');
|
||||
this.cancel.unbind('click');
|
||||
this.button.unbind('click');
|
||||
|
||||
removeRequiredHints();
|
||||
|
||||
initAddForm();
|
||||
|
||||
return false;
|
||||
},
|
||||
|
||||
// Set up add form on page load, or when returning to initial state
|
||||
|
@ -85,6 +90,7 @@ var customForm = {
|
|||
$(this).unbind('click');
|
||||
|
||||
// RY This would return us to step 1, but it's not working
|
||||
//customForm.cancel.unbind('click');
|
||||
//customForm.cancel.bind('click', customForm.resetAddForm);
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue