PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 1.9.9
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v1.9.9
3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / assets / js / admin / upgrade.js
everest-forms / assets / js / admin Last commit date
gutenberg 4 years ago admin.js 4 years ago admin.min.js 4 years ago deactivation-feedback.js 3 years ago deactivation-feedback.min.js 3 years ago editor.js 8 years ago editor.min.js 5 years ago evf-admin-email.js 3 years ago evf-admin-email.min.js 3 years ago evf-clipboard.js 8 years ago evf-clipboard.min.js 8 years ago evf-enhanced-select.js 3 years ago evf-enhanced-select.min.js 3 years ago evf-file-uploader.js 3 years ago evf-file-uploader.min.js 3 years ago evf-setup.js 3 years ago evf-setup.min.js 3 years ago extensions.js 4 years ago extensions.min.js 4 years ago form-builder.js 3 years ago form-builder.min.js 3 years ago form-template-controller.js 3 years ago form-template-controller.min.js 3 years ago settings.js 4 years ago settings.min.js 4 years ago tools.js 4 years ago tools.min.js 4 years ago upgrade.js 5 years ago upgrade.min.js 5 years ago
upgrade.js
68 lines
1 /* global evf_upgrade, evf_data */
2 jQuery( function( $ ) {
3
4 /**
5 * Upgrade actions.
6 */
7 var evf_upgrade_actions = {
8 init: function() {
9 $( document.body ).on( 'click dragstart', '.evf-registered-item.upgrade-modal', this.field_upgrade );
10 $( document.body ).on( 'click dragstart', '.evf-registered-item.enable-stripe-model', this.enable_stripe_model );
11 $( document.body ).on( 'click dragstart', '.everest-forms-field-option-row.upgrade-modal', this.feature_upgrade );
12 $( document.body ).on( 'click dragstart', '.evf-upgradable-feature, .everest-forms-btn-group span.upgrade-modal', this.feature_upgrade );
13 },
14 feature_upgrade: function( e ) {
15 e.preventDefault();
16
17 evf_upgrade_actions.upgrade_modal( $( this ).data( 'feature' ) ? $( this ).data( 'feature' ) : $( this ).text() );
18 },
19 field_upgrade: function( e ) {
20 e.preventDefault();
21
22 evf_upgrade_actions.upgrade_modal( $( this ).data( 'feature' ) ? $( this ).data( 'feature' ) : $( this ).text() + ' field' );
23 },
24 upgrade_modal: function( feature ) {
25 var message = evf_upgrade.upgrade_message.replace( /%name%/g, feature );
26
27 $.alert({
28 title: feature + ' ' + evf_upgrade.upgrade_title,
29 icon: 'dashicons dashicons-lock',
30 content: message,
31 type: 'red',
32 boxWidth: '565px',
33 buttons: {
34 confirm: {
35 text: evf_upgrade.upgrade_button,
36 btnClass: 'btn-confirm',
37 keys: ['enter'],
38 action: function () {
39 window.open( evf_upgrade.upgrade_url, '_blank' );
40 }
41 },
42 cancel: {
43 text: evf_data.i18n_ok
44 }
45 }
46 });
47 },
48 enable_stripe_model: function( e ) {
49 e.preventDefault();
50 $.alert({
51 title: evf_upgrade.enable_stripe_title,
52 content: evf_upgrade.enable_stripe_message,
53 icon: 'dashicons dashicons-info',
54 type: 'blue',
55 buttons : {
56 confirm : {
57 text: evf_data.i18n_close,
58 btnClass: 'btn-confirm',
59 keys: ['enter']
60 }
61 }
62 });
63 }
64 };
65
66 evf_upgrade_actions.init();
67 });
68