Skip to content

Commit

Permalink
IVYPORTAL-17533 Create Accessibility Mode Dashboard Template (#1149)
Browse files Browse the repository at this point in the history
* IVYPORTAL-17533 Create Accessibility Mode Dashboard Template: Highlight 2 menu items issue

* IVYPORTAL-17533 Create Accessibility Mode Dashboard Template: remove duplicated column "start"
  • Loading branch information
lndanh-axonivy authored Oct 23, 2024
1 parent 53323e0 commit 72ae337
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -647,10 +647,6 @@
{
"field": "expiryTimestamp"
},
{
"field": "start",
"visible": false
},
{
"field": "id",
"visible": false,
Expand Down
2 changes: 1 addition & 1 deletion AxonIvyPortal/portal/webContent/resources/js/portal.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ function highlightDashboardItem(menuId) {
function activeMenuItemOnLeftMenu(menuId) {
PF('main-menu').addMenuitem(menuId);
let $selectedMenu = $("[id$='" + menuId + "']");
if (!$selectedMenu.hasClass('active-menuitem')) {
if (!$selectedMenu.hasClass('active-menuitem') && !$selectedMenu.siblings('.active-menuitem').length) {
$selectedMenu.addClass('active-menuitem');
}
}
Expand Down

0 comments on commit 72ae337

Please sign in to comment.