1jQuery(".openform_expertPlagin-item").click(function() { 2 var button = jQuery(this).attr('style'); 3 console.log(button); 4 jQuery('#button-expert_plag').attr('style',button); 5 jQuery('.form-openexpert_plag').show(); 6 return false; 7 }); 8 jQuery(".bg-fix,.close-popUp").click(function() { 9 jQuery('.popUp-box-expert_plag').hide(); 10 return false; 11 }); 12 jQuery("#form-expert_plag").submit(function() { return false; }); 13 jQuery("#button-expert_plag").on("click", function(){ 14 var form = $("#form-expert_plag"); 15 var serialize = form.serialize(); 16 var title = form.find('#title'); 17 var editor = form.find('#editor'); 18 var spam = form.find('#textadd'); 19 if(title.val().length > 0 ){ 20 title.removeClass("error"); 21 } else { 22 title.addClass("error"); 23 } 24 if(editor.val().length > 0 ){ 25 editor.removeClass("error"); 26 } else { 27 editor.addClass("error"); 28 } 29 if(title.val().length > 0 && editor.val().length > 0 && spam.val()==""){ 30 form_send = true; 31 } else { 32 form_send = false; 33 } 34 if(form_send == true) { 35 jQuery.ajax({ 36 url: expert_ajaxUrl, 37 data: 'action=expertplagadd&'+serialize, 38 type: 'POST', 39 success: function(data) { 40 form.trigger('reset'); 41 jQuery('.popUp-box-expert_plag').hide(500); 42 jQuery(".form-resultexpert_plag").show(500); 43 }, 44 dataType: 'json' 45 }); 46 } 47 });
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.