diff --git a/javascript/PageCommentInterface.js b/javascript/PageCommentInterface.js index fae9a6ac..755520a0 100755 --- a/javascript/PageCommentInterface.js +++ b/javascript/PageCommentInterface.js @@ -54,7 +54,7 @@ PageCommentInterface.prototype = { // Add it to the list with a 'loading' message $('PageComments').insertBefore(__newComment, pageComments[0]); __newComment.innerHTML = '

Loading...

'; - __newComment.className ="even"; + // Submit the form via ajax Ajax.SubmitForm(form, "action_postcomment", { @@ -70,7 +70,7 @@ PageCommentInterface.prototype = { } if(response.responseText != "spamprotectionfalied"){ - + __newComment.className ="even"; // Load the response into the new
  • __newComment.innerHTML = response.responseText; Behaviour.apply(__newComment);