When the logout feature is used, FB.Connect.logout sometimes runs before the Facebook API is fully initialized, and so fails to work. Running it inside a callback to FB.Facebook.get_sessionState().waitUntilReady and FB.ensureInit makes sure it doesn't run too early.

This patch implements that change.

CommentFileSizeAuthor
fbconnect-logout.patch845 bytesscottgifford

Comments

scottgifford’s picture

This may also be the cause of http://drupal.org/node/399578

vectoroc’s picture

Status: Needs review » Closed (fixed)