PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/tiktechtok.org/wp-content/plugins/wp-automatic/js/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/tiktechtok.org/wp-content/plugins/wp-automatic/js/wp-automatic-admin-edit.js |
//Add duplicate button jQuery(document).ready(function(){ jQuery('.edit a').each(function(index,val){ //getting the id jQuery(this).parent().after('<span class="edit wp-automatic-duplicate"><a href="' + jQuery(this).attr('href') + '" title="Duplicate this item">Duplicate</a> | </span>'); }); //click duplicate button jQuery('.row-actions').on('click', '.wp-automatic-duplicate a', function() { console.log(jQuery(this).parent().parent()); //getting input var campName = prompt("New Campaign Name", jQuery(this).parent().parent().parent().find('.row-title').text() + "-Copy"); if (campName != null) { jQuery(this).parent().parent().append('<div class="spinner-duplicate spinner is-active"></div>'); jQuery.ajax({ url : ajaxurl, type : 'POST', data : { action : 'wp_automatic_campaign_duplicate', href : jQuery(this).attr('href'), campName: campName }, success: function(data){ jQuery('.spinner-duplicate').remove(); alert(data); } }); } return false; }); });