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>
node: nodename
});
var nw = window.open("?" + url, '_blank', 'toolbar=no,location=no,status=no,menubar=no,resizable=yes,width=800,height=420');
- nw.focus();
+ if (nw) {
+ nw.focus();
+ }
}
},