Add jquery-ui-sortable dependency to nav-menu. fixes #15622

git-svn-id: http://svn.automattic.com/wordpress/trunk@16752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-12-06 16:57:09 +00:00
parent a64b107868
commit daaed10ca0
1 changed files with 1 additions and 1 deletions

View File

@ -439,7 +439,7 @@ function wp_default_scripts( &$scripts ) {
) ); ) );
// Navigation Menus // Navigation Menus
$scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", false, '20100814' ); $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array('jquery-ui-sortable'), '20100814' );
$scripts->localize( 'nav-menu', 'navMenuL10n', array( $scripts->localize( 'nav-menu', 'navMenuL10n', array(
'noResultsFound' => _x('No results found.', 'search results'), 'noResultsFound' => _x('No results found.', 'search results'),
'warnDeleteMenu' => __( "You are about to permanently delete this menu. \n 'Cancel' to stop, 'OK' to delete." ), 'warnDeleteMenu' => __( "You are about to permanently delete this menu. \n 'Cancel' to stop, 'OK' to delete." ),