HEX
Server: Apache
System: Linux cp4.skywebbox.com 5.14.0-503.15.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Nov 28 07:25:19 EST 2024 x86_64
User: alfouzantranspor (1054)
PHP: 8.3.23
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/alfouzantranspor/public_html/wp-content/plugins/ibtana-visual-editor/dist/js/addons.js
(function($) {
 $(document).ready(function() {

   var data_to_post = {
     action: 'ive_addons_page_cards',
     wpnonce: ibtana_addons.wpnonce
   };
   jQuery.ajax({
     method: "POST",
     url:    ibtana_addons.admin_ajax,
     data:   data_to_post
   }).done(function( data, status ) {
     if ( 'success' == status ) {
       $( '#the-ive-addons-list' ).append( data );
     }
   });


   $( '#the-ive-addons-list' ).on( 'click', '.ive-ibtana-add-on-buttons [data-href]', function() {
     $(this).addClass('updating-message');
     $(this).text( $(this).attr('data-text') );
     var data_href = $( this ).attr( 'data-href' );
     jQuery.get(data_href, function( data, status ) {
       location.reload(true);
     });
   });

 });


})(jQuery);