From bfa7cdbdd77d5aa41b28d9776893c88d93b630f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E5=BB=B6=E4=B9=89?= Date: Fri, 30 Sep 2022 13:59:18 +0800 Subject: [PATCH] * Optimize page style. --- module/program/model.php | 8 ++++---- www/js/my.full.js | 8 +++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/module/program/model.php b/module/program/model.php index ad303b242c..ff55147f5a 100644 --- a/module/program/model.php +++ b/module/program/model.php @@ -1577,15 +1577,15 @@ class programModel extends model if(common::hasPriv('project', 'manageProducts') || common::hasPriv('project', 'whitelist') || common::hasPriv('project', 'delete')) { $menu .= "
"; - $menu .= ""; + $menu .= ""; $menu .= ""; $menu .= "
"; diff --git a/www/js/my.full.js b/www/js/my.full.js index 5d07873ce7..3a52f53d2d 100644 --- a/www/js/my.full.js +++ b/www/js/my.full.js @@ -99,6 +99,12 @@ } init(); + + /* Hide context menu when window is scroll. */ + $(window).on('scroll', function() + { + $.zui.ContextMenu.hide(); + }); }(jQuery)); /** @@ -1332,7 +1338,7 @@ function refreshBudgetUnit(data) /** * Handle radio logic of Kanban column width setting. - * + * * @access public * @return void */