]> git.proxmox.com Git - pve-manager.git/commit - www/manager6/Utils.js
fix popup behaviour in firefox with touchscreens on desktop
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 21 Feb 2019 10:34:25 +0000 (11:34 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 21 Feb 2019 10:58:14 +0000 (11:58 +0100)
commit7af1ab47f665339379b72a14c203cb491b001755
treeb7a2cf0a5b1d06025c14b4314e8164416ce39742
parent97f7773b6c5b28c3964a8d5b93508281c5a07169
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>
www/manager6/Utils.js