Merge to trunk. changing forms for addRoleToPersonTwoStage.jsp so that it can edit a role with out a core:roleIn statement. NIHVIVO-863

This commit is contained in:
bdc34 2010-07-22 00:42:44 +00:00
parent 59db70e8e0
commit f8a9ffe9c5
2 changed files with 119 additions and 61 deletions

View file

@ -74,6 +74,8 @@ var customForm = {
} else {
this.formSteps = 2;
}
if( this.editMode == 'repair')
this.formSteps = 2;
this.bindEventListeners();
@ -89,7 +91,7 @@ var customForm = {
// Put this case first, because in edit mode with
// validation errors we just want initFormFullView.
if (this.editMode == 'edit') {
if (this.editMode == 'edit' || this.editMode == 'repair') {
this.initFormFullView();
}
else if (this.findValidationErrors()) {