WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/24/2009 03:46:09 PM (11 years ago)
Author:
azaozz
Message:

Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/script-loader.php

    r11439 r11445  
    132132    $scripts->add( 'jquery-ui-draggable', '/wp-includes/js/jquery/ui.draggable.js', array('jquery-ui-core'), '1.7.1' );
    133133    $scripts->add_data( 'jquery-ui-draggable', 'group', 1 );
     134
     135    $scripts->add( 'jquery-ui-droppable', '/wp-includes/js/jquery/ui.droppable.js', array('jquery-ui-core'), '1.7.1' );
     136    $scripts->add_data( 'jquery-ui-droppable', 'group', 1 );
     137
     138    $scripts->add( 'jquery-ui-selectable', '/wp-includes/js/jquery/ui.selectable.js', array('jquery-ui-core'), '1.7.1' );
     139    $scripts->add_data( 'jquery-ui-selectable', 'group', 1 );
    134140
    135141    $scripts->add( 'jquery-ui-resizable', '/wp-includes/js/jquery/ui.resizable.js', array('jquery-ui-core'), '1.7.1' );
     
    327333        $scripts->add_data( 'media-upload', 'group', 1 );
    328334
    329         $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable' ), '20090522' );
     335        $scripts->add( 'admin-widgets', "/wp-admin/js/widgets$suffix.js", array( 'jquery-ui-sortable', 'jquery-ui-draggable', 'jquery-ui-droppable' ), '20090524' );
    330336        $scripts->add_data( 'admin-widgets', 'group', 1 );
    331337
Note: See TracChangeset for help on using the changeset viewer.