From c82edbe6bc9dfe6166650e4300a860c6ee625c76 Mon Sep 17 00:00:00 2001 From: BurningTreeC Date: Tue, 13 Nov 2018 19:08:55 +0100 Subject: [PATCH] New window: add missing click listener for popups (#3538) this adds a click listener to new windows which enables us to cancel popups by clicking --- core/modules/startup/windows.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/modules/startup/windows.js b/core/modules/startup/windows.js index 591f5d5fa..8dd5692a9 100644 --- a/core/modules/startup/windows.js +++ b/core/modules/startup/windows.js @@ -83,6 +83,10 @@ exports.startup = function() { name: "keydown", handlerObject: $tw.keyboardManager, handlerMethod: "handleKeydownEvent" + },{ + name: "click", + handlerObject: $tw.popup, + handlerMethod: "handleEvent" }]); srcWindow.haveInitialisedWindow = true; });