1;(function($){ 2 $(function(){ 3 // ãã©ã¼ã ãã¨ã®éä¿¡ç¶æ 管ç 4 var submitedForms = new WeakMap(); 5 6 $('form').on('submit', function(event){ 7 var form = this; 8 9 if(submitedForms.get(form)) { 10 // éä¿¡ä¸ã¯ä¸æ 11 event.preventDefault(); 12 return false; 13 } 14 15 // validationEngine ãããã°ããªãã¼ã·ã§ã³ãã§ã㯠16 var isValid = true; 17 if($(form).validationEngine) { 18 isValid = $(form).validationEngine('validate'); 19 } 20 21 if(isValid){ 22 // éä¿¡ãã©ã° 23 submitedForms.set(form, true); 24 // è¦ãç®ã ãç¡å¹å 25 $(form).find('.jsMailFormDoubleClick').prop('disabled', true); 26 } else { 27 event.preventDefault(); 28 return false; 29 } 30 }); 31 }); 32})(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.