Open new window

I need to open a separate window outside my app so I can do Dropbox user authentication (this cannot be done in an iframe, since that causes an X-Frame-Options error for security reasons).

When I do window.open(…), I get an error that open is not a function. How do I access the main window object in Webix?

When I do things like window.innerWidth or window.alert, those things work fine. But window.open(), window.print(), do not work, giving errors that they are not functions. But window.close() does work, and closes the main window.

I figured it out. I had a function called open. And print. For some reason, those conflict with window.open and window.print …