Fix hiding of "Add new tag" tip in IE6/7, props yoavf, fixes #11107

git-svn-id: https://develop.svn.wordpress.org/trunk@12159 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-11-09 21:54:52 +00:00
parent 9c9a650030
commit 5988aa12b1
3 changed files with 3 additions and 3 deletions

View File

@ -72,7 +72,7 @@ tagBox = {
if ( !a )
newtag.val('');
if ( 'undefined' == f )
if ( 'undefined' == typeof(f) )
newtag.focus();
return false;

File diff suppressed because one or more lines are too long

View File

@ -265,7 +265,7 @@ function wp_default_scripts( &$scripts ) {
$scripts->add( 'postbox', "/wp-admin/js/postbox$suffix.js", array('jquery-ui-sortable'), '20091012' );
$scripts->add_data( 'postbox', 'group', 1 );
$scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20091026' );
$scripts->add( 'post', "/wp-admin/js/post$suffix.js", array('suggest', 'wp-lists', 'postbox'), '20091109' );
$scripts->add_data( 'post', 'group', 1 );
$scripts->localize( 'post', 'postL10n', array(
'tagsUsed' => __('Tags used on this post:'),