1$(function(){ 2 /* signup tenant form */ 3 4 $('.signup form input[name="email"]').on('focus', function(ev){ 5 var $p = $(this).closest('.signup'); 6 $p.find('.signup-complete').hide(); 7 $p.find('.signup-mail-notify').show(); 8 }); 9 10 $('.signup form').on('submit', function(ev){ 11 ev.preventDefault(); 12 var $p = $(this).closest('.signup'); 13 $(this).formPost({ 14 crossDomain:true, 15 filter:function(res){ 16 res.success = res.result=='ok'; 17 return res; 18 } 19 }).then(function(res){ 20 $p.find('.signup-complete').show(); 21 $p.find('form, .signup-notify').hide(); 22 setTimeout(function(){ 23 $p.find('form, #signup-notify').show(); 24 $p.find('.signup-complete').hide(); 25 },7000); 26 }).fail(function(res){ 27 if (res.ajaxerror){ alert('connection error:'+res.ajaxerror.statusText) } 28 if (res.systemerror) { alert('serverside error:'+res.systemerror); } 29 }).always(function(res){ 30 $p.find('.signup-mail-notify').hide(); 31 }); 32 }); 33}); 34
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.