I am trying to open a file in my Google Drive which was created by my Google Realtime application. Although the URL opens correctly, the onfileloaded event is not fired following the afterAuth event. Should I expect and handle a different event in my application when the file created by it is opened from Google Drive. Copying the URL in a different window fires the onfileload event.
OnfileLoaded:
function onFileLoaded(doc) {
Util.log.console("Doc:");
Util.log.console(doc);
data = doc.getModel().getRoot().get('data');
}
I also tried handling the onLoad (of model) event. Didn't help either.
in the realtime-client-utils.js fixed it