modified file smtp-mailer

This commit is contained in:
2024-02-08 12:31:51 +00:00
committed by Gitium
parent a2ae510d11
commit fdae6c72fc
958 changed files with 177242 additions and 49479 deletions

View File

@ -1,27 +0,0 @@
/**
* wp.media.model.MenuIconsItem
*
* @class
* @augments Backbone.Model
*/
var Item = Backbone.Model.extend({
initialize: function() {
this.on( 'change', this.updateValues, this );
},
/**
* Update the values of menu item's settings fields
*
* #fires mi:update
*/
updateValues: function() {
_.each( this.get( '$inputs' ), function( $input, key ) {
$input.val( this.get( key ) );
}, this );
// Trigger the 'mi:update' event to regenerate the icon on the field.
this.get( '$el' ).trigger( 'mi:update' );
}
});
module.exports = Item;