1(function($){var el_form=$('#form-new-post'),el_form_submit=$('.submit',el_form);el_form.on('submit',function(e){e.preventDefault();el_form_submit.attr('disabled','disabled');new_post();});function new_post(){$.ajax({url:localized_donot_sell_form.admin_donot_sell_ajax_url,type:'POST',dataType:'json',data:{action:'donot_sell_save_post',form_data:el_form.serialize()},cache:false}).done(function(r){console.log(r);if(r.donotsellrequests!==''){console.log('complete') 2jQuery('#donotsellmsg').addClass('donotsell-msg');jQuery('#donotsellmsg').removeClass('donotsell-error-msg');jQuery('#donotsellmsg').text('Request has been submitted successfully!!').delay(10000).fadeOut();} 3console.log(r.error) 4if(r.error!==''&&r.error!=undefined){jQuery('#donotsellmsg').removeClass('donotsell-msg');jQuery('#donotsellmsg').addClass('donotsell-error-msg');jQuery('#donotsell-error-msg').text(r.error).delay(10000).fadeOut();} 5el_form_submit.removeAttr('disabled');});} 6function trigger_new_post(){el_form.trigger('submit');}})(jQuery);
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.