Fixed Chrome bug with facebook sharing

This commit is contained in:
Fergal Moran
2012-10-16 15:34:47 +01:00
parent 0f39c7075c
commit c4b32106c7

View File

@@ -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);
}
}
);