Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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.
  • Loading branch information...
commit 7a52a7fe418cfe017586a2c76650926ceae81df5 1 parent 998b8e0
Ingo Schommer chillu authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  admin/javascript/LeftAndMain.js
3  admin/javascript/LeftAndMain.js
@@ -253,8 +253,7 @@ jQuery.noConflict();
newForm.trigger('aftersubmitform', {status: status, xhr: xhr, formData: formData});
- },
- dataType: 'json'
+ }
}, ajaxOptions));
return false;
Please sign in to comment.
Something went wrong with that request. Please try again.