1jQuery(document).ready(function ($) { 2 3 // Show the login dialog box on click 4 /*$('a#show_login').on('click', function(e){ 5 $('body').prepend('<div class="login_overlay"></div>'); 6 $('form#login').fadeIn(500); 7 8 e.preventDefault(); 9 });*/ 10 11 $('form#login a.close').on('click', function () { 12 $('form#login').hide(); 13 return false; 14 }); 15 16 // Perform AJAX login on form submit 17 $('form#login').on('submit', function (e) { 18 $('.loading').show(); 19 $('form#login p.status').show().text(ajax_login_object.loadingmessage); 20 $.ajax({ 21 type: 'POST', 22 dataType: 'json', 23 url: ajax_login_object.ajaxurl, 24 data: { 25 'action': 'ajaxlogin', //calls wp_ajax_nopriv_ajaxlogin 26 'username': $('form#login #username').val(), 27 'password': $('form#login #password').val(), 28 'security': $('form#login #security').val()}, 29 success: function (data) { 30 $('form#login p.status').text(data.message); 31 if (data.loggedin == true) { 32 $('form#login').fadeOut(5000); 33 34 $('.other-amount').fadeIn(5000); 35 } 36 $('.loading').hide(); 37 } 38 }); 39 e.preventDefault(); 40 return false; 41 }); 42 43});
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.