This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //Authorization popup window code | |
| function ShowAuthWindow(options) | |
| { | |
| console.log('ee'); | |
| options.windowName = options.windowName || 'ConnectWithOAuth'; // should not include space for IE | |
| options.windowOptions = options.windowOptions || 'location=0,status=0,width=800,height=400'; | |
| options.callback = options.callback || function(){ window.location.reload(); }; | |
| var that = this; | |
| console.log(options.path); | |
| that._oauthWindow = window.open(options.path, options.windowName, options.windowOptions); |