WordPress/wp-admin/js
Dominik Schilling 4f3fb2315d Customize Widgets: Improve sync logic for select[multiple] inputs.
The current logic doesn't account for the special case of `select[multiple]` inputs which lack a single value to synchronize: The value to synchronize is an array of zero or more values.
This change replaces `_getInputStatePropertyName()` with `_getInputState()`, which returns the state for an input depending on its type, and `_setInputState()`, which updates an input's state based on its type.

props westonruter.
fixes #31885.
Built from https://develop.svn.wordpress.org/trunk@32012


git-svn-id: http://core.svn.wordpress.org/trunk@31991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-04 16:34:26 +00:00
..
accordion.js Improve/introduce Customizer JavaScript models for Controls, Sections, and Panels. 2014-10-29 22:51:22 +00:00
accordion.min.js Improve/introduce Customizer JavaScript models for Controls, Sections, and Panels. 2014-10-29 22:51:22 +00:00
bookmarklet.js Press This: 2015-03-16 20:51:26 +00:00
bookmarklet.min.js Press This: 2015-03-16 20:51:26 +00:00
color-picker.js Color Picker: Allow to override mode and width values for Iris via wpColorPicker options. 2014-11-13 12:34:23 +00:00
color-picker.min.js Color Picker: Allow to override mode and width values for Iris via wpColorPicker options. 2014-11-13 12:34:23 +00:00
comment.js Avoid JSHint errors in admin comment.js. Declare globals, use single quotes. 2013-11-09 21:30:10 +00:00
comment.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
common.js Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +00:00
common.min.js Admin notices: Make (most) core notices dismissible. 2015-04-01 22:06:28 +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 Theme Switcher: Remove "Add New" reference from customize-controls.js. 2015-04-04 14:14:26 +00:00
customize-controls.min.js Customizer Theme Switcher: Remove "Add New" reference from customize-controls.js. 2015-04-04 14:14:26 +00:00
customize-widgets.js Customize Widgets: Improve sync logic for select[multiple] inputs. 2015-04-04 16:34:26 +00:00
customize-widgets.min.js Customize Widgets: Improve sync logic for select[multiple] inputs. 2015-04-04 16:34:26 +00:00
dashboard.js QuickPress: Disable autocomplete for content, enable "Save Draft" button on load. 2014-07-29 15:34:16 +00:00
dashboard.min.js QuickPress: Disable autocomplete for content, enable "Save Draft" button on load. 2014-07-29 15:34:16 +00:00
edit-comments.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
edit-comments.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
editor-expand.js TinyMCE: 2015-03-11 19:12:28 +00:00
editor-expand.min.js TinyMCE: 2015-03-11 19:12:28 +00:00
editor.js Ensure that <figcaption> is not autop'd. 2015-01-16 00:27:21 +00:00
editor.min.js Ensure that <figcaption> is not autop'd. 2015-01-16 00:27:21 +00:00
farbtastic.js Farbtastic 1.3u. Props flashingcursor. fixes #14707 2010-11-11 16:34:22 +00:00
gallery.js Fix JSHint errors in gallery.js. 2013-11-19 11:10:09 +00:00
gallery.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
image-edit.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
image-edit.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
inline-edit-post.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
inline-edit-post.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
inline-edit-tax.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
inline-edit-tax.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +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 Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
nav-menu.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +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 jshint fixes for shiny updates JS. 2015-02-05 19:52:22 +00:00
plugin-install.min.js Shiny Updates: Add ajax-y updates to the plugin list page, and ajax-y updates and installs to the plugin card page. 2015-02-05 04:19:23 +00:00
post.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
post.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
postbox.js Editor scrolling: set max-width: 100% for the text editor clone instead of always resizing it. See #29246. 2014-08-18 01:13:16 +00:00
postbox.min.js Editor scrolling: set max-width: 100% for the text editor clone instead of always resizing it. See #29246. 2014-08-18 01:13:16 +00:00
press-this.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
press-this.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
revisions.js Revisions: Fix initial state of compareTwoMode. 2014-12-12 09:54:25 +00:00
revisions.min.js Revisions: Fix initial state of compareTwoMode. 2014-12-12 09:54:25 +00:00
set-post-thumbnail.js Fix JSHint errors in 3 files. 2013-11-15 05:12:09 +00:00
set-post-thumbnail.min.js Temporarily remove CSS preprocessing until we can get our Ruby dependency sorted out. 2013-11-13 21:45:11 +00:00
svg-painter.js Final SVG painter fixes. 2013-12-05 22:01:10 +00:00
svg-painter.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
tags-box.js When saving post, ensure that non-hierarchical taxonomy input is defined before attempting to parse it. 2015-03-26 01:23:28 +00:00
tags-box.min.js When saving post, ensure that non-hierarchical taxonomy input is defined before attempting to parse it. 2015-03-26 01:23:28 +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 screen: remove extra debounce when searching. 2015-04-03 02:37:32 +00:00
theme.min.js Themes screen: remove extra debounce when searching. 2015-04-03 02:37:32 +00:00
updates.js Update aria-label when doing a shiny plugin update 2015-04-02 05:31:26 +00:00
updates.min.js Update aria-label when doing a shiny plugin update 2015-04-02 05:31:26 +00:00
user-profile.js When creating a new user, pasting a password should update the password strength indicator. 2015-02-20 13:05:27 +00:00
user-profile.min.js When creating a new user, pasting a password should update the password strength indicator. 2015-02-20 13:05: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 Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
widgets.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
word-count.js JSHint fixes for word-count.js and wp-mediaelement.js. see #25187. 2013-11-15 06:52:09 +00:00
word-count.min.js JSHint fixes for word-count.js and wp-mediaelement.js. see #25187. 2013-11-15 06:52:09 +00:00
wp-fullscreen.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +00:00
wp-fullscreen.min.js Spinners: Toggle a class instead of show/hide. 2015-04-03 04:52:27 +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