1// source --> https://www.qualipro-cfi.org/wp-content/themes/listingpro/assets/js/approve-review.js?ver=773ae82b0b734038d4e7c92f60346f20 2 jQuery(document).ready(function($){ 3 jQuery('.change_review_status').on('click', function(e){ 4 e.preventDefault(); 5 $this = jQuery(this); 6 var statuss, id; 7 statusss = $this.data("active"); 8 passivee = $this.data("passive"); 9 id = $this.data("id"); 10 info = []; 11 info[0] = id; 12 info[1] = statusss; 13 info[2] = passivee; 14 15 var formData = JSON.stringify(info); 16 17 jQuery.ajax({ 18 type: 'POST', 19 dataType: 'json', 20 url: ajax_approvereview_object.ajaxurl, 21 data: { 22 'action': 'listingpro_review_status', 23 'formData': formData, 24 }, 25 success: function(res){ 26 if(res.statuss="success"){ 27 var current = res.current_status; 28 var passive = res.passive_status; 29 30 $this.data('active', current); 31 $this.data('passive', passive); 32 $this.text(passive); 33 } 34 35 36 } 37 }); 38 }); 39 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.