Index: lams_central/web/includes/javascript/rating.js =================================================================== diff -u -ra0d6a27207e3009a1518902379f477404824e457 -r13bdb2921e8dd6ea08f31d45172b912f3c12363e --- lams_central/web/includes/javascript/rating.js (.../rating.js) (revision a0d6a27207e3009a1518902379f477404824e457) +++ lams_central/web/includes/javascript/rating.js (.../rating.js) (revision 13bdb2921e8dd6ea08f31d45172b912f3c12363e) @@ -70,7 +70,7 @@ var itemId = $(this).data("item-id"); var commentsCriteriaId = $(this).data("comment-criteria-id"); - var comment = validComment("comment-textarea-" + itemId, false); + var comment = validComment("comment-textarea-" + itemId, false, false); if ( ! comment ) return false; @@ -112,21 +112,25 @@ }).removeClass("add-comment-new"); } -// allowBlankComment is needed for Peer Review, where comments are always checked even if minWords = 0 -function validComment(textAreaId, allowBlankComment) { +// allowBlankComment is needed for Peer Review, where rating related comments are always checked even if minWords = 0 +// skipMinWordCheckOnBlank is used for the explicit comment type fields may be blank even when minWord > 0 +function validComment(textAreaId, allowBlankComment, skipMinWordCheckOnBlank) { //replace special characters with HTML tags var tempTextarea = jQuery('