/* Js for , Version=1555084034 */ v.objectType = "article";;v.objectID = 85;;v.messageRefreshUrl = "\/message-comment-article-85.mhtml";; $(function() { $.refreshCommentList = function() { $('#commentsListWrapper').load(window.location.href + ' #commentsList'); }; var $commentForm = $('#commentForm'), $commentBox = $('#commentBox'); $commentBox.find('.pager').on('click', 'a', function() { $commentBox.load($(this).attr('href')); return false; }); $commentForm.ajaxform({onSuccess: function(response) { if(response.result == 'success') { $('#commentDialog').modal('hide'); $commentForm.find('#content').val(''); setTimeout($.refreshCommentList, 200) } if(response.reason == 'needChecking') { $commentForm.find('.captcha-box').html(Base64.decode(response.captcha)).removeClass('hide'); } } }); });