mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-31 15:11:27 +00:00
[Bugfix] 修复判断问题
This commit is contained in:
@@ -579,7 +579,7 @@ jumpserver.initServerSideDataTable = function (options) {
|
||||
ajax: {
|
||||
url: options.ajax_url,
|
||||
error: function (jqXHR, textStatus, errorThrown) {
|
||||
if (jqXHR.responseText && jqXHR.responseText.indexOf("%(value)s") ) {
|
||||
if (jqXHR.responseText && jqXHR.responseText.indexOf("%(value)s") !== -1 ) {
|
||||
return
|
||||
}
|
||||
var msg = gettext("Unknown error occur");
|
||||
|
Reference in New Issue
Block a user