- WordPress core y plugins - Tema Twenty Twenty-Four configurado - Plugin allow-unfiltered-html.php simplificado - .gitignore configurado para excluir wp-config.php y uploads 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
23 lines
459 B
JavaScript
Executable File
23 lines
459 B
JavaScript
Executable File
module.exports = TVE_Dash.views.Modal.extend( {
|
|
|
|
events: {
|
|
'click .tvd-modal-submit': function () {
|
|
TVE_Dash.showLoader( true );
|
|
location.reload();
|
|
}
|
|
},
|
|
|
|
template: TVE_Dash.tpl( 'modals/variation-winner' ),
|
|
|
|
afterInitialize: function () {
|
|
|
|
this.model.set( 'label', TVE_Dash.sprintf( ThriveAB.t.variation_winner, this.model.get( 'title' ) ) );
|
|
|
|
/**
|
|
* add custom class to modal
|
|
*/
|
|
this.$el.addClass( 'thrive-ab-set-winner' );
|
|
}
|
|
|
|
} );
|