Created
May 13, 2014 14:37
-
-
Save pkarman/a32bc782ad4744621882 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $.ajaxSetup({ | |
| xhrFields: { | |
| withCredentials : true // allow FF to send auth cookie | |
| }, | |
| headers: { | |
| "X-Requested-With" : "xmlhttprequest" // tell server we're ajax | |
| } | |
| }); | |
Author
Worth noting that the .ajax call needs to be async otherwise Firefox will whine at you and give:
Exception... "A parameter or an operation is not supported by the underlying object", as noted here:
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Catalyst example in Root->auto()