From 10995b956e37ef62558dff061efffb148d708cbb Mon Sep 17 00:00:00 2001 From: Randy Woods Date: Thu, 13 Feb 2025 15:29:02 -0700 Subject: [PATCH] Use window.open for alt+l hotkey to open RL --- CSETWebNg/src/app/layout/top-menus/top-menus.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CSETWebNg/src/app/layout/top-menus/top-menus.component.ts b/CSETWebNg/src/app/layout/top-menus/top-menus.component.ts index 9a1044d3a9..35884101f0 100644 --- a/CSETWebNg/src/app/layout/top-menus/top-menus.component.ts +++ b/CSETWebNg/src/app/layout/top-menus/top-menus.component.ts @@ -123,7 +123,8 @@ export class TopMenusComponent implements OnInit { // Resource Library this._hotkeysService.add( new Hotkey('alt+l', (event: KeyboardEvent): boolean => { - this.router.navigate(['resource-library']); + const url = "index.html?returnPath=resource-library"; + window.open(url, '_blank'); return false; // Prevent bubbling }) );