Ticket #53641: 53641.diff
File 53641.diff, 984 bytes (added by , 2 years ago) |
---|
-
src/js/_enqueues/wp/widgets/custom-html.js
356 356 return; 357 357 } 358 358 359 idBase = widgetForm.find( ' > .widget-control-actions >.id_base' ).val();359 idBase = widgetForm.find( '.id_base' ).val(); 360 360 if ( -1 === component.idBases.indexOf( idBase ) ) { 361 361 return; 362 362 } -
src/js/_enqueues/wp/widgets/media.js
1212 1212 return; 1213 1213 } 1214 1214 1215 idBase = widgetForm.find( ' > .widget-control-actions >.id_base' ).val();1215 idBase = widgetForm.find( '.id_base' ).val(); 1216 1216 1217 1217 ControlConstructor = component.controlConstructors[ idBase ]; 1218 1218 if ( ! ControlConstructor ) {