mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-26 22:32:52 +02:00
Fix 'Screen Options' and 'Help' tabs in Safari, fixes #9021
git-svn-id: http://svn.automattic.com/wordpress/trunk@10488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
448ca8a0e0
commit
691c8eea79
@ -185,6 +185,7 @@ jQuery(document).ready( function($) {
|
|||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
|
$('#contextual-help-link-wrap, #screen-options-link-wrap').show();
|
||||||
|
|
||||||
// check all checkboxes
|
// check all checkboxes
|
||||||
$( 'table:visible tbody .check-column :checkbox' ).click( function(e) {
|
$( 'table:visible tbody .check-column :checkbox' ).click( function(e) {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -49,7 +49,7 @@ function wp_default_scripts( &$scripts ) {
|
|||||||
|
|
||||||
$scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20090102' );
|
$scripts->add( 'utils', "/wp-admin/js/utils$suffix.js", false, '20090102' );
|
||||||
|
|
||||||
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20090106' );
|
$scripts->add( 'common', "/wp-admin/js/common$suffix.js", array('jquery', 'hoverIntent', 'utils'), '20090203' );
|
||||||
$scripts->add_data( 'common', 'group', 1 );
|
$scripts->add_data( 'common', 'group', 1 );
|
||||||
$scripts->localize( 'common', 'commonL10n', array(
|
$scripts->localize( 'common', 'commonL10n', array(
|
||||||
'warnDelete' => __("You are about to delete the selected items.\n 'Cancel' to stop, 'OK' to delete."),
|
'warnDelete' => __("You are about to delete the selected items.\n 'Cancel' to stop, 'OK' to delete."),
|
||||||
|
Loading…
Reference in New Issue
Block a user