mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11445 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -327,8 +327,14 @@ require_once( 'admin-header.php' ); ?>
|
||||
<div id="available-widgets" class="widgets-holder-wrap">
|
||||
<div class="sidebar-name">
|
||||
<div class="sidebar-name-arrow"><br /></div>
|
||||
<h3><?php _e('Available Widgets'); ?></h3></div>
|
||||
<h3><?php _e('Available Widgets'); ?> <span id="removing-widget"><?php _e('Deactivate'); ?> <span></span></span></h3></div>
|
||||
<div class="widget-holder">
|
||||
<p class="description"><?php _e('Drag widgets from here to a sidebar on the right to activate them. Drag widgets back here to deactivate them and delete their settings.'); ?></p>
|
||||
<div id="widget-list">
|
||||
<?php wp_list_widgets(); ?>
|
||||
</div>
|
||||
<br class='clear' />
|
||||
</div>
|
||||
<br class="clear" />
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user