Fix gapi not able to reference callback function onGoogleClientLoaded
This commit is contained in:
@@ -1536,6 +1536,7 @@ function onGoogleClientLoaded() {
|
||||
googleApiAuth(true);
|
||||
buildImportFromGoogleDrive();
|
||||
}
|
||||
window.onGoogleClientLoaded = onGoogleClientLoaded;
|
||||
// export to google drive
|
||||
ui.toolbar.export.googleDrive.click(function (e) {
|
||||
var token = gapi.auth.getToken();
|
||||
|
||||
Reference in New Issue
Block a user