Subversion Repositories My Stuff

Compare Revisions

Ignore whitespace Rev 26 → Rev 27

/trunk/JavaScripts/comment_form.js
12,7 → 12,7
checkBoxChange();
toggleLinkClick();
checkboxChacked();
var $comment;
var $options = {
success: function(data) {
var response = $(data).find('#comments');
21,6 → 21,7
checkboxChacked();
checkBoxChange();
toggleLinkClickSlide();
$('#comment_form').find('textarea').val($comment);
$('#comment_form > #comments-indicator').hide();
$.scrollTo( '#comments', 800, {onAfter:function(){
$('.error').effect('pulsate');
29,6 → 30,7
});
},
beforeSubmit: function() {
$comment = $('#comment_form').find('textarea').val();
$('#comment_form > #comments-indicator').show();
}
};