From b282c0fd99bab02ef511c3b1e5a0bf4c19b6dbbd Mon Sep 17 00:00:00 2001 From: chaideqing Date: Tue, 6 Jun 2023 14:17:43 +0800 Subject: [PATCH] * Fix bug#33171. --- module/todo/js/common.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/module/todo/js/common.js b/module/todo/js/common.js index 8668ff14f4..dcdbe21b26 100644 --- a/module/todo/js/common.js +++ b/module/todo/js/common.js @@ -33,7 +33,8 @@ function loadList(type, id, defaultType, idvalue) id = id ? id : ''; var param = 'userID=' + userID + '&id=' + id; - if(type == "task") param += '&status=wait,doing'; + if(type == 'task') param += '&status=wait,doing'; + if(type == 'risk') param += '&status=active,hangup'; if(type == defaultType && idvalue != 0) param += '&idvalue=' + idvalue; if(moduleList.indexOf(type) !== -1)