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:
parent
59db70e8e0
commit
f8a9ffe9c5
2 changed files with 119 additions and 61 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue