mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-31 19:27:00 -06:00
electron-258: fixes the pop out issue for meetings and supports undefined urls in case of new window events as per the html dom specs
This commit is contained in:
parent
ed4672d0bc
commit
0edc3d01e2
@ -320,7 +320,7 @@ function doCreateMainWindow(initialUrl, initialBounds) {
|
||||
|
||||
// only allow window.open to succeed is if coming from same hsot,
|
||||
// otherwise open in default browser.
|
||||
if (disposition === 'new-window' && newWinHost === mainWinHost) {
|
||||
if (disposition === 'new-window' && ((newWinHost === mainWinHost) || newWinUrl === 'about:blank')) {
|
||||
// handle: window.open
|
||||
|
||||
if (!frameName) {
|
||||
|
Loading…
Reference in New Issue
Block a user