rjy7 2010-07-21 14:20:03 +00:00
parent 73eb40ce80
commit cb14df3cf7

View file

@ -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.