mirror of https://github.com/apache/cloudstack.git
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…
Reference in New Issue