I noticed that aui.js is setting traditional to true for the default jquery ajax setup. Here’s the code from the file:
// Setting Traditional to handle our default param serialisation.
// See http://api.jquery.com/jQuery.param/ for more information.
_jquery2.default.ajaxSettings.traditional = true;
Doing this breaks other calls to ajax that require traditional to be false.
It doesn’t seem right that a library like aui should change the default ajax settings. Can this be changed to have internal aui ajax manually set traditional = true, or have aui use a noConflict instance of jquery rather than forcing this change on everything?
As a workaround, after aui.js is loaded, I’ve inserted this script to flip the setting back to normal so that the other ajax calls in our app continue to function normally without being impacted by the aui change:
<script>
$.ajaxSetup({
traditional: false
});
</script>
Does anyone know how to request such a change to the aui team?