VRFS-1848 : Make login window disappear when login complete after the google oauth callback.

This commit is contained in:
Steven Miers 2015-04-17 09:31:40 -05:00
parent f4765d03f9
commit 267e5a7e10
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,10 @@
e.preventDefault();
logger.debug("Starting google login")
window._oauth_win = window.open("/auth/google_login", "Log In to Google", "height=500,width=500,menubar=no,resizable=no,status=no");
window._oauth_callback = function() {
window._oauth_win.close();
}
return false;
}