Changeset 9868
- Timestamp:
- 11/25/2008 02:41:54 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/admin-ajax.php
r9759 r9868 466 466 get_comment( $comment ); 467 467 ob_start(); 468 _wp_comment_row( $comment->comment_ID, $mode, $status );468 _wp_comment_row( $comment->comment_ID, $mode, $status, true, true ); 469 469 $comment_list_item = ob_get_contents(); 470 470 ob_end_clean(); -
trunk/wp-admin/includes/template.php
r9835 r9868 1918 1918 * @param unknown_type $checkbox 1919 1919 */ 1920 function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true ) {1920 function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true, $from_ajax = false ) { 1921 1921 global $comment, $post; 1922 1922 $comment = get_comment( $comment_id ); … … 2008 2008 ( ( ('approve' == $action || 'unapprove' == $action) && 2 === $i ) || 1 === $i ) ? $sep = '' : $sep = ' | '; 2009 2009 2010 // Reply and quickedit need a hide-if-no-js span 2011 if ( 'reply' == $action || 'quickedit' == $action)2010 // Reply and quickedit need a hide-if-no-js span when not added with ajax 2011 if ( ('reply' == $action || 'quickedit' == $action) && ! $from_ajax ) 2012 2012 $action .= ' hide-if-no-js'; 2013 2013 -
trunk/wp-admin/js/edit-comments.js
r9735 r9868 82 82 83 83 init : function() { 84 this.rows = $('#the-comment-list tr');85 if ( !this.rows.size() )86 this.rows = $('#the-comment-list > div.comment-item');87 84 var row = $('#replyrow'); 88 85 -
trunk/wp-includes/script-loader.php
r9847 r9868 157 157 'strong' => __('Strong') 158 158 ) ); 159 $scripts->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '200811 17' );159 $scripts->add( 'admin-comments', '/wp-admin/js/edit-comments.js', array('wp-lists', 'jquery-ui-resizable', 'quicktags'), '20081124' ); 160 160 $scripts->localize( 'admin-comments', 'adminCommentsL10n', array( 161 161 'hotkeys_highlight_first' => isset($_GET['hotkeys_highlight_first']),
Note: See TracChangeset
for help on using the changeset viewer.