VRFS-1422 removed extra call to facebookHelper.promptLogin() which is unnecessary for feed posts

This commit is contained in:
Jonathan Kolyer 2014-03-17 16:58:48 +00:00
parent 3ff131c031
commit c8a60a7d83
1 changed files with 2 additions and 8 deletions

View File

@ -195,7 +195,7 @@
var obj = {
method: 'feed',
link: signupUrl,
picture: 'http://www.jamkazam.com/assets/web/logo-512.png',
picture: 'http://www.jamkazam.com/assets/web/logo-256.png',
name: 'Join me on JamKazam',
caption: 'Play live music in real-time sessions with others over the Internet, as if in the same room.',
description: '',
@ -216,13 +216,7 @@
function showFacebookDialog(evt) {
if (!(evt === undefined)) evt.stopPropagation();
facebookHelper.promptLogin()
.done(function(response) {
if (response && response.status == "connected") {
showFeedDialog();
}
})
showFeedDialog();
}
// END FB handlers