ORIENT/modules/system/assets/js
Luke Towers cdc8b23fd4 Fixing same-origin AJAX requests
jQuery sends multiple values for the `X-REQUESTED-WITH` header if it has already been set, even when the value is the same. This means that same-origin requests would send `X-REQUESTED-WITH: XMLHttpRequest, XMLHttpRequest` which isn't detected as AJAX by Laravel/Symphony.

To fix this issue while retaining the crossDomain usage of framework.js, I've used `crossDomain: false` to trick jQuery into sending the header anyways on cross-origin requests. This is still changeable by the user in the `ajaxSetup` event.
2017-02-15 09:56:43 -06:00
..
eventlogs Fixes styling formatted content as raw 2016-10-13 06:35:34 +11:00
lang Add afterUpdate event to match keyup 2017-02-03 06:50:38 +11:00
updates Use prettify on plugin details page 2015-08-15 14:16:16 +10:00
framework.extras.js Dedicated ajaxSetup event for modifying option 2017-02-04 19:44:53 +11:00
framework.js Fixing same-origin AJAX requests 2017-02-15 09:56:43 -06:00