Use optionslib to read config value
这个提交包含在:
父节点
3fc003d6a8
当前提交
570ac1e505
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -1126,7 +1126,7 @@ $(document).on('keypress',function(e) {
|
|||
$("#selectPropagation").val(data.prop_mode);
|
||||
|
||||
// Display CAT Timeout warnng based on the figure given in the config file
|
||||
var minutes = Math.floor(<?php echo $this->config->item('cat_timeout_interval'); ?> / 60);
|
||||
var minutes = Math.floor(<?php echo $this->optionslib->get_option('cat_timeout_interval'); ?> / 60);
|
||||
|
||||
if(data.updated_minutes_ago > minutes) {
|
||||
if($('.radio_timeout_error').length == 0) {
|
||||
|
|
|
|||
正在加载…
在新工单中引用