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.
Atlassian Summit is an excellent opportunity for in-person support, training, and networking.Learn more
...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...
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