From 21fbb376ea502fbfbcbbb905282d2f05ba826bfe Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 27 Feb 2019 11:56:30 -0500 Subject: [PATCH] clearPendingClipboard on lock/logout --- jslib | 2 +- src/app/app.component.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/jslib b/jslib index b9267c521d..62e9c75357 160000 --- a/jslib +++ b/jslib @@ -1 +1 @@ -Subproject commit b9267c521ddffce35932a0cc2e9726d30b80c60d +Subproject commit 62e9c75357b211db6de769d8592224fc846638aa diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 481a81355c..1640a02cb7 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -121,6 +121,7 @@ export class AppComponent implements OnInit { this.notificationsService.updateConnection(); this.updateAppMenu(); this.systemService.startProcessReload(); + await this.systemService.clearPendingClipboard(); break; case 'logout': this.logOut(!!message.expired); @@ -133,6 +134,7 @@ export class AppComponent implements OnInit { this.notificationsService.updateConnection(); this.updateAppMenu(); this.systemService.startProcessReload(); + await this.systemService.clearPendingClipboard(); break; case 'reloadProcess': window.location.reload(true);