Ticket #37520: 37520.patch
File 37520.patch, 1.3 KB (added by , 8 years ago) |
---|
-
src/wp-admin/js/customize-nav-menus.js
646 646 api.Menus.MenuSection = api.Section.extend({ 647 647 648 648 /** 649 * @since Menu Customizer 0.3650 649 * 650 * @since 4.3.0 Menu Customizer 651 * 651 652 * @param {String} id 652 653 * @param {Object} options 653 654 */ … … 859 860 api.Menus.NewMenuSection = api.Section.extend({ 860 861 861 862 /** 863 * 864 * @since 4.3.0 Menu Customizer 865 * 862 866 * Add behaviors for the accordion section. 863 867 * 864 * @since Menu Customizer 0.3865 868 */ 866 869 attachEvents: function() { 867 870 var section = this; … … 1014 1017 }, 1015 1018 1016 1019 /** 1017 * @since Menu Customizer 0.31018 1020 * 1021 * @since 4.3.0 Menu Customizer 1022 * 1019 1023 * Override the embed() method to do nothing, 1020 1024 * so that the control isn't embedded on load, 1021 1025 * unless the containing section is already expanded. … … 1034 1038 }, 1035 1039 1036 1040 /** 1041 * 1042 * @since 4.3.0 Menu Customizer 1043 * 1037 1044 * This function is called in Section.onChangeExpanded() so the control 1038 1045 * will only get embedded when the Section is first expanded. 1039 1046 * 1040 * @since Menu Customizer 0.31041 1047 */ 1042 1048 actuallyEmbed: function() { 1043 1049 var control = this;