From a0a0df9655f043f13166a24efad933510988f36f Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Wed, 30 Jun 2021 16:11:21 +0100 Subject: [PATCH] Update action-navigate widget with metakeys to match link widget --- core/modules/widgets/action-navigate.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/core/modules/widgets/action-navigate.js b/core/modules/widgets/action-navigate.js index adac959d5..909d23929 100644 --- a/core/modules/widgets/action-navigate.js +++ b/core/modules/widgets/action-navigate.js @@ -70,7 +70,12 @@ NavigateWidget.prototype.invokeAction = function(triggeringWidget,event) { navigateFromNode: triggeringWidget, navigateFromClientRect: bounds && { top: bounds.top, left: bounds.left, width: bounds.width, right: bounds.right, bottom: bounds.bottom, height: bounds.height }, - navigateSuppressNavigation: suppressNavigation + navigateSuppressNavigation: suppressNavigation, + metaKey: event.metaKey, + ctrlKey: event.ctrlKey, + altKey: event.altKey, + shiftKey: event.shiftKey, + event: event }); return true; // Action was invoked };