mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Set AJAX defaults to always use JSON and async
This commit is contained in:
parent
de6844c868
commit
04a2263e5e
@ -38,6 +38,8 @@
|
||||
* Generic error handling
|
||||
*/
|
||||
$.ajaxSetup({
|
||||
async: true,
|
||||
dataType: 'json',
|
||||
cache: false,
|
||||
error: function(data) {
|
||||
cloudStack.dialog.notice({ message: parseXMLHttpResponse(data) });
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user