pass the original story URL to all comments for notification email

This commit is contained in:
Michael Q Larson
2015-04-07 23:39:52 -07:00
parent 751d25219e
commit 1c7d0b11b6
7 changed files with 29 additions and 66 deletions

View File

@@ -281,6 +281,7 @@ $(document).ready(function() {
{
data: {
associatedPost: storyId,
originalStoryLink: originalStoryLink,
body: data,
author: {
picture: user.profile.picture,
@@ -295,7 +296,6 @@ $(document).ready(function() {
.done(function (data, textStatus, xhr) {
window.location.reload();
});
};
$('#comment-button').on('click', commentSubmitButtonHandler);