$('#com-reply').append( replyrow );
$('#replycontent').css('height', '').val('');
$('#edithead input').val('');
- $('.error', replyrow).html('').hide();
- $('.spinner', replyrow).hide();
+ $('.error', replyrow).empty().hide();
+ $( '.spinner', replyrow ).removeClass( 'is-active' );
this.cid = '';
},
var post = {};
$('#replysubmit .error').hide();
- $('#replysubmit .spinner').show();
+ $( '#replysubmit .spinner' ).addClass( 'is-active' );
$('#replyrow input').not(':button').each(function() {
var t = $(this);
error : function(r) {
var er = r.statusText;
- $('#replysubmit .spinner').hide();
+ $( '#replysubmit .spinner' ).removeClass( 'is-active' );
if ( r.responseText )
er = r.responseText.replace( /<.[^<>]*?>/g, '' );
disableInInput: true,
type: 'keypress',
noDisable: '.check-column input[type="checkbox"]'
- }
+ },
+ cycle_expr: '#the-comment-list tr',
+ start_row_index: 0
}
);
}