Set AJAX defaults to always use JSON and async

This commit is contained in:
Brian Federle 2011-12-08 15:38:34 -08:00
parent de6844c868
commit 04a2263e5e

View File

@ -38,6 +38,8 @@
* Generic error handling
*/
$.ajaxSetup({
async: true,
dataType: 'json',
cache: false,
error: function(data) {
cloudStack.dialog.notice({ message: parseXMLHttpResponse(data) });