WordPress/wp-admin/js
Michael Adams 699c377856 Meta Boxes: Preserve radio inputs' state when sorting metaboxes.
When sorting a metabox, a clone of that metabox is created as a drag/drop "helper".
Previously, any checked radio input in the original metabox would become unchecked, when its clone "helper" was inserted into the DOM
(since only one radio within a set of radios of the same name can be checked).

Continued use of the clone helper is important so that the element being dragged isn't subject to the click and other event handlers attached to the real metabox,
so we can't just switch to dragging around the real metabox.  See, for example, comment:10:ticket:16972.

Preserve the radios' state via some name attribute trickery.

Fixes #16972

Built from https://develop.svn.wordpress.org/trunk@35809


git-svn-id: http://core.svn.wordpress.org/trunk@35773 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-06 22:23:49 +00:00
..
accordion.js Menu customizer: More clearly separate search results from available items. 2015-07-29 23:40:25 +00:00
accordion.min.js Menu customizer: More clearly separate search results from available items. 2015-07-29 23:40:25 +00:00
bookmarklet.js Press This: Check the embeds list against all of the oembed providers. 2015-06-18 00:12:26 +00:00
bookmarklet.min.js Press This: Check the embeds list against all of the oembed providers. 2015-06-18 00:12:26 +00:00
color-picker.js Color Picker: when opening and closing, toggle a wp-picker-active class on the wrapper. 2015-10-13 01:08:25 +00:00
color-picker.min.js Color Picker: when opening and closing, toggle a wp-picker-active class on the wrapper. 2015-10-13 01:08:25 +00:00
comment.js Comment status box: Move focus back to Edit link when changing the date. 2015-07-26 02:26:24 +00:00
comment.min.js Comment status box: Move focus back to Edit link when changing the date. 2015-07-26 02:26:24 +00:00
common.js Plugins: add dismissible notices to update failures. 2015-11-18 20:10:26 +00:00
common.min.js Plugins: add dismissible notices to update failures. 2015-11-18 20:10:26 +00:00
custom-background.js Fix JSHint errors in custom-header.js and custom-background.js. 2013-11-14 05:40:11 +00:00
custom-background.min.js Update the versions of several devDependencies in package.json. grunt-cssjanus has been updated to 0.2.2, we no longer need the fork. Run npm install to receive updates for node_modules in the project root. 2014-01-29 04:43:30 +00:00
custom-header.js Fix JSHint errors in custom-header.js and custom-background.js. 2013-11-14 05:40:11 +00:00
customize-controls.js Customizer: Fix margin-top calculation for Themes section. 2015-10-17 22:41:25 +00:00
customize-controls.min.js Customizer: Fix margin-top calculation for Themes section. 2015-10-17 22:41:25 +00:00
customize-nav-menus.js Customize: Fix focus and autofocus on nav_menu_item controls. 2015-11-09 03:14:25 +00:00
customize-nav-menus.min.js Customize: Fix focus and autofocus on nav_menu_item controls. 2015-11-09 03:14:25 +00:00
customize-widgets.js The the Docs: Fix the the dittography 2015-12-06 21:23:25 +00:00
customize-widgets.min.js Customize: Fix auto-expand (and focus) on newly added widgets. 2015-11-01 22:27:26 +00:00
dashboard.js JS: in event callbacks replace the very outdated return false with preventDefault(). 2015-10-09 01:27:27 +00:00
dashboard.min.js JS: in event callbacks replace the very outdated return false with preventDefault(). 2015-10-09 01:27:27 +00:00
edit-comments.js Comments: Dynamically update the document title text for all languages, not only English. 2015-11-11 21:00:27 +00:00
edit-comments.min.js Comments: Dynamically update the document title text for all languages, not only English. 2015-11-11 21:00:27 +00:00
editor-expand.js Pinking Shears: Remove some errant non-breaking spaces from a few JavaScript files. 2015-11-12 12:04:27 +00:00
editor-expand.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
editor.js TinyMCE: fix the regexp used to protect line breaks inside script and pre tags to match <script> that load external scripts. 2015-11-22 19:13:28 +00:00
editor.min.js TinyMCE: fix the regexp used to protect line breaks inside script and pre tags to match <script> that load external scripts. 2015-11-22 19:13:28 +00:00
farbtastic.js
gallery.js JS: in event callbacks replace the very outdated return false with preventDefault(). 2015-10-09 01:27:27 +00:00
gallery.min.js JS: in event callbacks replace the very outdated return false with preventDefault(). 2015-10-09 01:27:27 +00:00
image-edit.js Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
image-edit.min.js Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
inline-edit-post.js Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
inline-edit-post.min.js Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
inline-edit-tax.js Accessibility: improvements for the taxonomies Quick Edit form. 2015-11-11 00:24:28 +00:00
inline-edit-tax.min.js Accessibility: improvements for the taxonomies Quick Edit form. 2015-11-11 00:24:28 +00:00
iris.min.js Update the Iris color picker to version 1.0.7. 2014-11-30 11:44:22 +00:00
language-chooser.js Language chooser imporvements. 2014-08-04 20:47:16 +00:00
language-chooser.min.js Language chooser imporvements. 2014-08-04 20:47:16 +00:00
link.js Fix JSHint errors in 5 files. 2013-11-15 05:16:09 +00:00
link.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
media-gallery.js Fix JSHint errors in three files. 2013-11-15 23:19:09 +00:00
media-gallery.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
media-upload.js The "old iframe media modal" has some pretty busted styles. Although this is a "deprecated" feature, clean up some of the broken styles. 2014-06-25 17:39:15 +00:00
media-upload.min.js The "old iframe media modal" has some pretty busted styles. Although this is a "deprecated" feature, clean up some of the broken styles. 2014-06-25 17:39:15 +00:00
media.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
media.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
nav-menu.js Nav menus: Adjust redundant titles in accessibility helpers. 2015-08-04 04:53:44 +00:00
nav-menu.min.js Nav menus: Adjust redundant titles in accessibility helpers. 2015-08-04 04:53:44 +00:00
password-strength-meter.js Fix JSHint errors in 3 files. 2013-11-15 05:12:09 +00:00
password-strength-meter.min.js Fix JSHint errors in 3 files. 2013-11-15 05:12:09 +00:00
plugin-install.js Fix close button plugin modal after [18590] 2015-10-15 14:52:26 +00:00
plugin-install.min.js Fix close button plugin modal after [18590] 2015-10-15 14:52:26 +00:00
post.js Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
post.min.js Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
postbox.js Meta Boxes: Preserve radio inputs' state when sorting metaboxes. 2015-12-06 22:23:49 +00:00
postbox.min.js Meta Boxes: Preserve radio inputs' state when sorting metaboxes. 2015-12-06 22:23:49 +00:00
press-this.js Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
press-this.min.js Accessibility: add missing alt attributes to a gaggle of <img>s. 2015-11-07 16:12:27 +00:00
revisions.js Pinking Shears: Remove some errant non-breaking spaces from a few JavaScript files. 2015-11-12 12:04:27 +00:00
revisions.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
set-post-thumbnail.js Revert a part of [32673] that caused a fatal error with SCRIPT_DEBUG disabled. 2015-06-01 04:14:25 +00:00
set-post-thumbnail.min.js Revert a part of [32673] that caused a fatal error with SCRIPT_DEBUG disabled. 2015-06-01 04:14:25 +00:00
svg-painter.js Final SVG painter fixes. 2013-12-05 22:01:10 +00:00
svg-painter.min.js Update Grunt dev-dependencies 2015-06-28 14:51:30 +00:00
tags-box.js Tags: Avoid a double trailing space after tags separator in auto-suggest. 2015-10-20 16:00:30 +00:00
tags-box.min.js Tags: Avoid a double trailing space after tags separator in auto-suggest. 2015-10-20 16:00:30 +00:00
tags.js Emoji: Instead of having custom hooks for Ajax callbacks, use MutationObserver to re-parse any changed elements in the DOM. 2015-03-12 12:52:26 +00:00
tags.min.js Emoji: Instead of having custom hooks for Ajax callbacks, use MutationObserver to re-parse any changed elements in the DOM. 2015-03-12 12:52:26 +00:00
theme.js Themes: Hide the favorites form when performing a search. 2015-11-16 19:50:26 +00:00
theme.min.js Themes: Hide the favorites form when performing a search. 2015-11-16 19:50:26 +00:00
updates.js Plugins: add dismissible notices to update failures. 2015-11-18 20:10:26 +00:00
updates.min.js Plugins: add dismissible notices to update failures. 2015-11-18 20:10:26 +00:00
user-profile.js Passwords: Re-enable password fields before submitting the form. 2015-11-24 21:17:27 +00:00
user-profile.min.js Passwords: Re-enable password fields before submitting the form. 2015-11-24 21:17:27 +00:00
user-suggest.js Autocomplete for the new site admin email. Better than trying to remember which email address you used. 2014-01-27 23:10:12 +00:00
user-suggest.min.js Autocomplete for the new site admin email. Better than trying to remember which email address you used. 2014-01-27 23:10:12 +00:00
widgets.js Widgets: add a button to delete all inactive widgets simultaneously for better UX. 2015-10-21 05:23:26 +00:00
widgets.min.js Widgets: add a button to delete all inactive widgets simultaneously for better UX. 2015-10-21 05:23:26 +00:00
word-count.js Editor: word count: better names for types. 2015-07-27 11:19:26 +00:00
word-count.min.js Editor: word count: better names for types. 2015-07-27 11:19:26 +00:00
wp-fullscreen-stub.js Editor: 2015-06-01 17:38:29 +00:00
wp-fullscreen-stub.min.js Editor: 2015-06-01 17:38:29 +00:00
xfn.js JSHint and coding style fixes for xfn.js. 2013-11-14 21:58:10 +00:00
xfn.min.js JSHint and coding style fixes for xfn.js. 2013-11-14 21:58:10 +00:00