mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 02:34:38 +00:00
Tweak colors for trash, spam and undo of comments, fix IE6/7 background for unapproved comments, fix JS error in IE6/7, props caesarsgrunt, see #4529
git-svn-id: https://develop.svn.wordpress.org/trunk@12291 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -621,9 +621,12 @@ tr.inactive + tr.plugin-update-tr .plugin-update {
|
||||
color: #557799;
|
||||
}
|
||||
|
||||
#the-comment-list .unapproved,
|
||||
#the-comment-list .unapproved th,
|
||||
#the-comment-list .unapproved td {
|
||||
#the-comment-list tr.undo,
|
||||
#the-comment-list div.undo {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
#the-comment-list .unapproved {
|
||||
background-color: #ffffe0;
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -616,9 +616,12 @@ tr.inactive + tr.plugin-update-tr .plugin-update {
|
||||
color: #557799;
|
||||
}
|
||||
|
||||
#the-comment-list .unapproved,
|
||||
#the-comment-list .unapproved th,
|
||||
#the-comment-list .unapproved td {
|
||||
#the-comment-list tr.undo,
|
||||
#the-comment-list div.undo {
|
||||
background-color: #f4f4f4;
|
||||
}
|
||||
|
||||
#the-comment-list .unapproved {
|
||||
background-color: #ffffe0;
|
||||
}
|
||||
|
||||
|
||||
@@ -425,3 +425,9 @@ table.ie-fixed {
|
||||
* html .describe .field textarea {
|
||||
width: 440px;
|
||||
}
|
||||
|
||||
#the-comment-list .unapproved tr,
|
||||
#the-comment-list .unapproved td {
|
||||
background-color: #ffffe0;
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ setCommentsList = function() {
|
||||
|
||||
a.click(function(){
|
||||
list.wpList.del(this);
|
||||
$('#undo-' + id).css( {backgroundColor:'#6c6'} ).fadeOut(300, function(){
|
||||
$('#undo-' + id).css( {backgroundColor:'#ceb'} ).fadeOut(350, function(){
|
||||
$(this).remove();
|
||||
$('#comment-' + id).css('backgroundColor', '').fadeIn(300, function(){ $(this).show() });
|
||||
});
|
||||
@@ -189,21 +189,22 @@ setCommentsList = function() {
|
||||
else if ( N < 0 )
|
||||
dashboardTotals(1);
|
||||
} else {
|
||||
// XML response
|
||||
total = totalInput.val() ? parseInt( totalInput.val(), 10 ) : 0;
|
||||
total = total - spam - trash;
|
||||
if ( total < 0 )
|
||||
total = 0;
|
||||
|
||||
if ( ( 'object' == typeof r ) && lastConfidentTime < settings.parsed.responses[0].supplemental.time ) {
|
||||
pageLinks = settings.parsed.responses[0].supplemental.pageLinks || '';
|
||||
if ( $.trim( pageLinks ) )
|
||||
$('.tablenav-pages').find( '.page-numbers' ).remove().end().append( $( pageLinks ) );
|
||||
else
|
||||
$('.tablenav-pages').find( '.page-numbers' ).remove();
|
||||
|
||||
updateTotalCount( total, settings.parsed.responses[0].supplemental.time, true );
|
||||
} else {
|
||||
updateTotalCount( total, r, false );
|
||||
}
|
||||
|
||||
total = totalInput.val() ? parseInt( totalInput.val(), 10 ) : 0;
|
||||
total = total - spam - trash;
|
||||
if ( total < 0 )
|
||||
total = 0;
|
||||
|
||||
updateTotalCount( total, r, false );
|
||||
}
|
||||
|
||||
if ( theExtraList.size() == 0 || theExtraList.children().size() == 0 || untrash ) {
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user