1jQuery(function($) { 2 var dialog = $( "#hypersys-login-form" ).dialog({ 3 autoOpen: false, 4 width: 350, 5 modal: true, 6 }); 7 $('.hypersys-login-btn').on('click', function(e) { 8 e.preventDefault(); 9 dialog.dialog('open'); 10 }); 11 12 $('.submitHypersysLogin').on('click', function(e) { 13 e.preventDefault(); 14 var formData = $('#hypersys-login-form form').serialize(); 15 $.ajax({ 16 type: 'POST', 17 dataType: 'json', 18 url: hypersysLoginAction.ajax_url, 19 data: { 20 action: 'hypersysLoginAction', 21 security: hypersysLoginAction.ajax_nonce, 22 login: formData, 23 }, 24 success: function(data) { 25 if(data.status == 'success') { 26 location.reload(); 27 } 28 if(data.status == 'error') { 29 $('.hypersys-login-form-status').html('<div class="hypersys-login-form-status-error"><p>' + data.msg + '</p></div>'); 30 $('.hypersys-login-form-overlay').fadeOut(1000); 31 } 32 } 33 }); 34 }); 35});
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.