From c4b32106c7d7cbcec39133468fb7bf4bd8eb9168 Mon Sep 17 00:00:00 2001 From: Fergal Moran Date: Tue, 16 Oct 2012 15:34:47 +0100 Subject: [PATCH] Fixed Chrome bug with facebook sharing --- static/js/app/social.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static/js/app/social.js b/static/js/app/social.js index d835fd7..23853ec 100644 --- a/static/js/app/social.js +++ b/static/js/app/social.js @@ -64,9 +64,9 @@ sharePageToFacebook = function (model) { }, function (response) { if (response && response.post_id) { - com.podnoms.utils.alert("Post ID: " + response.post_id); + com.podnoms.utils.showAlert("Success", "Post shared to facebook", "alert-success", true); } else { - com.podnoms.utils.alert("Failure sharing post"); + com.podnoms.utils.showAlert("Error", "Failure sharing post", "alert-error", true); } } );