From c8a60a7d839dc0a00aeda610f5e04dabce202aa9 Mon Sep 17 00:00:00 2001 From: Jonathan Kolyer Date: Mon, 17 Mar 2014 16:58:48 +0000 Subject: [PATCH] VRFS-1422 removed extra call to facebookHelper.promptLogin() which is unnecessary for feed posts --- web/app/assets/javascripts/invitationDialog.js.erb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/web/app/assets/javascripts/invitationDialog.js.erb b/web/app/assets/javascripts/invitationDialog.js.erb index 120bd2e3e..be90d3e23 100644 --- a/web/app/assets/javascripts/invitationDialog.js.erb +++ b/web/app/assets/javascripts/invitationDialog.js.erb @@ -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