Changeset 21696
- Timestamp:
- 09/03/2012 03:35:22 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/nav-menus.php
r20433 r21696 23 23 wp_die( __( 'Cheatin’ uh?' ) ); 24 24 25 // jQuery26 wp_enqueue_script( 'jquery-ui-draggable' );27 wp_enqueue_script( 'jquery-ui-droppable' );28 wp_enqueue_script( 'jquery-ui-sortable' );29 30 // Nav Menu functions31 25 wp_enqueue_script( 'nav-menu' ); 32 33 // Metaboxes34 wp_enqueue_script( 'common' );35 wp_enqueue_script( 'wp-lists' );36 wp_enqueue_script( 'postbox' );37 26 38 27 if ( wp_is_mobile() ) -
trunk/wp-includes/script-loader.php
r21695 r21696 435 435 436 436 // Navigation Menus 437 $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array( 'jquery-ui-sortable') );437 $scripts->add( 'nav-menu', "/wp-admin/js/nav-menu$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable', 'wp-lists', 'postbox' ) ); 438 438 did_action( 'init' ) && $scripts->localize( 'nav-menu', 'navMenuL10n', array( 439 439 'noResultsFound' => _x('No results found.', 'search results'),
Note: See TracChangeset
for help on using the changeset viewer.