PageSourceSearch

https://shimizu-ss.net/_templates/_modules/mailform/js/disabled_button.js?t=1791198856

js shimizu-ss.net collected 2026-10-05 11:14:31 UTC 969 bytes, 32 lines download raw bytes

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.