BUG Default form submits to text/html, fixing validation (#7653)

Was using text/json, which Form->httpSubmission() interprets
(correctly) to returning JSON validation data.
This trips up the interface, which expects HTML with
the validation errors directly in the markup.
This commit is contained in:
Ingo Schommer 2012-07-12 17:10:50 +02:00
parent 998b8e048c
commit 7a52a7fe41

View File

@ -253,8 +253,7 @@ jQuery.noConflict();
});
newForm.trigger('aftersubmitform', {status: status, xhr: xhr, formData: formData});
},
dataType: 'json'
}
}, ajaxOptions));
return false;