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
custom-background.min.js
custom-header.js
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
language-chooser.js
language-chooser.min.js
link.js
link.min.js
media-gallery.js
media-gallery.min.js
media-upload.js
media-upload.min.js
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
password-strength-meter.min.js
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
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
tags.min.js
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
user-suggest.min.js
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
xfn.min.js