From af0b70bb6aeb02bbf71b44b7928f021d61abf056 Mon Sep 17 00:00:00 2001 From: tanghucheng Date: Fri, 12 Nov 2021 08:20:33 +0800 Subject: [PATCH] * Adjust index.js for zentaomax. --- module/index/js/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/module/index/js/index.js b/module/index/js/index.js index 0fb76f5ac5..8f043fde8c 100644 --- a/module/index/js/index.js +++ b/module/index/js/index.js @@ -121,6 +121,11 @@ { return (link.params.from || link.params.$3) == 'project' ? 'project' : 'execution'; } + if(moduleName === 'issue' || moduleName === 'risk' || moduleName === 'opportunity' || moduleName === 'pssp' || moduleName === 'auditplan' || moduleName === 'meeting' || moduleName === 'nc') + { + if(link.params.$2 == 'project') return 'project'; + if(link.params.$2 == 'execution') return 'execution'; + } if(moduleName === 'product') { if(methodLowerCase === 'create' && (link.params.programID || link.params.$1)) return 'program'; @@ -858,3 +863,4 @@ function getLatestVersion() $('#globalSearchInput').click(); $('#upgradeContent').toggle(); } +