Submit
Path:
~
/
home
/
getwphos
/
www
/
metrothemes.me
/
wp-content
/
plugins
/
redux-framework
/
redux-core
/
inc
/
welcome
/
js
/
File Content:
redux-banner-admin.js
/* global console:true, ajaxurl */ (function( $ ) { $.redux_banner = $.redux_banner || {}; $( document ).ready( function() { var post_data = { 'action': 'redux_activation', 'nonce': $( '#redux-connect-message' ).data( 'nonce' ) }; $( '.redux-connection-banner-action' ).on( 'click', function( e ) { var status = $( '.redux-banner-tos-blurb' ); $( this ).addClass( 'disabled' ); status.html( 'Installing Extendify plugin...' ); e.preventDefault(); post_data['activate'] = $( this ).data( 'activate' ); $.post( $( this ).data( 'url' ), post_data, function( response ) { var point = response.indexOf( '{"type":' ) if ( point > 0 ) { response = response.substring( point ); } response = JSON.parse( response ); console.log( response.msg ); status.html( response.msg ); if ( 'close' === response.type ) { $( '#redux-connect-message' ).slideUp(); } } ); } ); } ); })( jQuery );
Submit
FILE
FOLDER
Name
Size
Permission
Action
index.php
79 bytes
0644
redux-banner-admin.js
1054 bytes
0644
redux-banner-admin.min.js
592 bytes
0644
N4ST4R_ID | Naxtarrr