Skip to content
Browse files

MINOR: fixed page comment form disappearing when validation failed

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@82778 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 7b83603 commit b40b29c21897c30c6a5f7d791b6fcf5db79961fd Will Rossiter committed with sminnee
Showing with 1 addition and 1 deletion.
  1. +1 −1 javascript/PageCommentInterface.js
View
2 javascript/PageCommentInterface.js
@@ -36,7 +36,7 @@ PageCommentInterface.prototype = {
postComment: function() {
var form = $("PageCommentInterface_Form_PostCommentForm");
- var message = $("PageCommentInterface_Form_PostCommentForm");
+ var message = $("PageCommentInterface_Form_PostCommentForm_error");
if(form.elements.Name.value && form.elements.Comment.value) {
if(noComments = $('NoComments')) {

0 comments on commit b40b29c

Please sign in to comment.
Something went wrong with that request. Please try again.