Hi all,I actually wondered that nobody already found this bug but have you ever wondered why you cannot submit a comment in K2 even though there is no error displayed? The solution is quite easy: there probably is an error but the message itself is not displayed at all!This is a bug in the k2.js file found under /components/com_k2/js/Search the following lines:Replace them as follows:That's it! Now the validation errors are displayed properly.Regards,Eric
// Comments<br/> if($('comment-form')) {<br/> $('comment-form').addEvent('submit', function(e){<br/> new Event(e).stop();<br/> var log2 = $('formLog').empty().addClass('formLogLoading');<br/> this.send({<br/> update: log2,<br/> onComplete: function(res){<br/> log2.removeClass('formLogLoading');<br/> if(typeof(Recaptcha) != "undefined"){<br/> Recaptcha.reload();<br/> }<br/> if (res.substr(13, 7) == 'success') {<br/> window.location.reload();<br/> }<br/> }<br/> });<br/> });<br/> }<br/> // Comments if($('comment-form')) { $('comment-form').addEvent('submit', function(e){ new Event(e).stop(); var log2 = $('formLog').empty().addClass('formLogLoading'); this.send({ update: log2, onComplete: function(res){ log2.removeClass('formLogLoading'); if(typeof(Recaptcha) != "undefined"){ Recaptcha.reload(); } if (res.substr(13, 7) == 'success') { window.location.reload(); } else { log2.setProperty('html', res); } } }); }); }