Document global ajax settings
|Reported by:||joern||Owned by:|
By moving the defaults into a global object, clients could modify these defaults for all following requests. This is already available for timeout, but would be useful for other options, too.
Setting timeout is currently wrapped inside it's own method, that makes it easy to integrate the global timeout setting into the other defaults without breaking the API.
Change History (5)
comment:4 Changed 10 years ago by
|Summary:||Move default settings for $.ajax into a global object → Document global ajax settings|