Merge r967 from http://svn.mannlib.cornell.edu/svn/vivo/branches/rel-1.1-maint
This commit is contained in:
parent
73eb40ce80
commit
cb14df3cf7
1 changed files with 9 additions and 6 deletions
|
@ -87,11 +87,14 @@ var customForm = {
|
||||||
|
|
||||||
var typeVal = this.typeSelector.val();
|
var typeVal = this.typeSelector.val();
|
||||||
|
|
||||||
if (this.findValidationErrors()) {
|
// Put this case first, because in edit mode with
|
||||||
this.initFormWithValidationErrors();
|
// validation errors we just want initFormFullView.
|
||||||
//this.initFormFullView();
|
if (this.editMode == 'edit') {
|
||||||
|
this.initFormFullView();
|
||||||
|
}
|
||||||
|
else if (this.findValidationErrors()) {
|
||||||
|
this.initFormWithValidationErrors();
|
||||||
}
|
}
|
||||||
// this.formSteps == 1 includes edit mode.
|
|
||||||
// If type is already selected when the page loads (Firefox retains value
|
// If type is already selected when the page loads (Firefox retains value
|
||||||
// on a refresh), go directly to full view. Otherwise user has to reselect
|
// on a refresh), go directly to full view. Otherwise user has to reselect
|
||||||
// twice to get to full view.
|
// twice to get to full view.
|
||||||
|
|
Loading…
Add table
Reference in a new issue