From 588db7a437bce6ac34609005f9599c87956d447d Mon Sep 17 00:00:00 2001 From: speedball Date: Mon, 24 Jul 2023 22:15:10 +0200 Subject: [PATCH] NEW: Set menuitemId as value of the menu item element. --- icmenupopupapi/implementation.js | 1 + 1 file changed, 1 insertion(+) diff --git a/icmenupopupapi/implementation.js b/icmenupopupapi/implementation.js index 1bf9104..3e49cd5 100644 --- a/icmenupopupapi/implementation.js +++ b/icmenupopupapi/implementation.js @@ -62,6 +62,7 @@ class Menupopup { 'menuitem'); menuItem.id = menuitemId; menuItem.setAttribute('label', label); + menuItem.setAttribute('value', menuitemId); menuPopup.appendChild(menuItem); }