Changeset 8780
- Timestamp:
- 08/30/2008 07:16:16 AM (17 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-pages.php
r8720 r8780 67 67 wp($query_str); 68 68 69 if ( is_singular() ) 69 if ( is_singular() ) { 70 70 wp_enqueue_script( 'admin-comments' ); 71 wp_enqueue_script( 'jquery-table-hotkeys' ); 72 } 71 73 72 74 require_once('admin-header.php'); -
trunk/wp-admin/edit.php
r8767 r8780 54 54 list($post_stati, $avail_post_stati) = wp_edit_posts_query(); 55 55 56 if ( 1 == count($posts) && is_singular() ) 56 if ( 1 == count($posts) && is_singular() ) { 57 57 wp_enqueue_script( 'admin-comments' ); 58 wp_enqueue_script( 'jquery-table-hotkeys' ); 59 } 58 60 59 61 require_once('admin-header.php'); -
trunk/wp-admin/js/edit-comments.js
r8777 r8780 236 236 if ( typeof QTags != 'undefined' ) 237 237 ed_reply = new QTags('ed_reply', 'replycontent', 'replycontainer', 'more'); 238 jQuery.table_hotkeys(jQuery('table.widefat'), ['a', 'u', 's', 'd', 'r']); 238 if ( typeof $.table_hotkeys != 'undefined' ) 239 $.table_hotkeys($('table.widefat'), ['a', 'u', 's', 'd', 'r']); 239 240 }); 240 241 -
trunk/wp-admin/post.php
r8720 r8780 132 132 wp_enqueue_script('word-count'); 133 133 wp_enqueue_script( 'admin-comments' ); 134 wp_enqueue_script( 'jquery-table-hotkeys' ); 134 135 135 136 if ( current_user_can('edit_post', $post_ID) ) { -
trunk/wp-admin/upload.php
r8767 r8780 52 52 list($post_mime_types, $avail_post_mime_types) = wp_edit_attachments_query(); 53 53 54 if ( is_singular() ) 54 if ( is_singular() ) { 55 55 wp_enqueue_script( 'admin-comments' ); 56 wp_enqueue_script( 'jquery-table-hotkeys' ); 57 } 56 58 57 59 require_once('admin-header.php');
Note: See TracChangeset
for help on using the changeset viewer.