PATH:
home
/
lab2454c
/
fcxpro.com
/
wp-content
/
plugins
/
custom-twitter-feeds
/
admin
/
builder
/
assets
/
js
/** * Install Plugin Popup Popup * * @since 2.0 */ Vue.component('install-plugin-popup', { name: 'install-plugin-popup', template: '#install-plugin-popup', props: [ 'genericText', 'svgIcons', 'viewsActive', 'plugins' ], data: function() { return{ installerStatus: null } }, methods : { /** * Install or Activate Plugin * * @since 2.0 * * @return void */ installOrActivatePlugin : function( plugin, pluginPath, action ){ this.installerStatus = 'loading'; let data = new FormData(); data.append( 'action', action ); data.append( 'nonce', cff_builder.nonce ); data.append( 'plugin', pluginPath ); data.append( 'type', 'plugin' ); fetch(cff_builder.ajax_handler, { method: "POST", credentials: 'same-origin', body: data }) .then(response => response.json()) .then(data => { if( data.success == true ) { this.installerStatus = null; plugin.installed = true; plugin.activated = true; } return; }); }, }, });
[-] confirm-dialog.js
[edit]
[-] oembed.js
[edit]
[+]
..
[-] jquery.tooltipster.min.js
[edit]
[-] ressources.js
[edit]
[-] install-plugin-popup.js
[edit]
[-] tooltip-wizard.js
[edit]
[-] owl.autoheight.js
[edit]
[-] date_i18n.js
[edit]
[-] builder.js
[edit]
[-] vue-color.min.js
[edit]