]> git.proxmox.com Git - proxmox-widget-toolkit.git/commit
fix popup behaviour in firefox with touchscreens on desktop
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 21 Feb 2019 10:34:24 +0000 (11:34 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 21 Feb 2019 11:31:16 +0000 (12:31 +0100)
commit9bf01f76c7ac485ebbb825f0b92a485f80f5f276
tree99b68a7cb8cb4ef19b328bb0a1a64e428ddc3b8e
parent9138244f8bbc3fa7f954b69ee001aec3ed44da33
fix popup behaviour in firefox with touchscreens on desktop

when the popup blocker is active, nw is undefined and nw.focus() throws
an error and the touchend event is not finished, causing
extjs to retry the touchevent and click handler, which tries to open
a popup which gets blocked here, and so on

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Utils.js