Browse Source
Merge pull request #11996 from maxunbearable/fix/4885-rpc-terminal-force-insert
Fixed RPC debug terminal widget force focus
pull/12056/head
Andrew Shvayka
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
4 additions and
4 deletions
-
ui-ngx/src/app/modules/home/components/widget/widget-container.component.ts
|
|
|
@ -213,8 +213,8 @@ export class WidgetContainerComponent extends PageComponent implements OnInit, O |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
onClicked(event: MouseEvent) { |
|
|
|
if (event) { |
|
|
|
onClicked(event: MouseEvent): void { |
|
|
|
if (event && this.isEdit) { |
|
|
|
event.stopPropagation(); |
|
|
|
} |
|
|
|
this.widgetComponentAction.emit({ |
|
|
|
@ -223,8 +223,8 @@ export class WidgetContainerComponent extends PageComponent implements OnInit, O |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
onContextMenu(event: TbContextMenuEvent) { |
|
|
|
if (event) { |
|
|
|
onContextMenu(event: TbContextMenuEvent): void { |
|
|
|
if (event && this.isEdit) { |
|
|
|
event.stopPropagation(); |
|
|
|
} |
|
|
|
this.widgetComponentAction.emit({ |
|
|
|
|