* [Update] 增加清理celery日志

* [Update] 修复两周前会话命令数量系那是问题

* [Update] 修复两周前会话命令数量系那是问题

* [Update] 修改结构

* [Update] 添加datatable失败的日志

* [Update] 转换配置文件格式

* [Update] 添加traceback
This commit is contained in:
老广
2019-03-18 11:34:13 +08:00
committed by GitHub
parent 01745ead1f
commit 324cf2469f
30 changed files with 171 additions and 338 deletions

View File

@@ -555,6 +555,17 @@ jumpserver.initServerSideDataTable = function (options) {
processing: true,
ajax: {
url: options.ajax_url ,
error: function(jqXHR, textStatus, errorThrown) {
var msg = gettext("Unknown error occur");
if (jqXHR.responseJSON) {
if (jqXHR.responseJSON.error) {
msg = jqXHR.responseJSON.error
} else if (jqXHR.responseJSON.msg) {
msg = jqXHR.responseJSON.msg
}
}
alert(msg)
},
data: function (data) {
delete data.columns;
if (data.length !== null){