I'm having an issue with opening external browser windows in my HipChat addon in Microsoft Windows only (Windows 10 users). Mac works fine. This also works fine for BOTH OS in the HipChat webapp. I am simply using a windows.open(<url>) in my addon.js. Has anyone run into this issue and has a solution?
I actually got this working over the weekend. Apparently, Windows native app blocks window.open that were not initiated by a "direct" user action. Mac does not appear to do this at all which is why it was working on most of the computers and the webapp. I had my code that opened the window in an ajax call which was initiated by a button click in the sidebar. While this appears to be initiated through a user action, the ajax call is NOT a user action so it did not work. Once I re-worked my code to have the ajax code elsewhere and clicked the button, the window opened just fine. Just a heads up for anyone else running into this issue.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Background While our Hipchat server environment was reliable and performing well, as a significant and growing part of our business, the need to leverage the benefits of Hipchat Data Center&nbs...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs