show dialog when ajax requests fail

This commit is contained in:
Min RK
2015-01-29 14:59:11 -08:00
parent e12dde371f
commit 056cd0c246
4 changed files with 25 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ define(['jquery', 'utils'], function ($, utils) {
dataType : "json",
processData: false,
success: null,
error: utils.log_jax_error,
error: utils.ajax_error_dialog,
};
var update = function (d1, d2) {