PageSourceSearch

https://www.ruum.me/js/sys/modal_submit.js?t=2026100102

js ruum.me collected 2026-10-07 11:14:28 UTC 2,789 bytes, 112 lines download raw bytes

1var ecblib = ecblib || {};
2
3jQuery(function () {
4	jQuery('.js-submit-modal').on('click', function() {
5		var frm = this.form;
6		var id = jQuery(this).attr('data-target-modal');
7		ecblib.ui.dialog(id, {
8			quit : function(action) {
9				action.close();
10			},
11			buttons : {
12				'btnsubmit' : function(action) {
13					frm.submit();
14				},
15				'btncancel' : function(action) {
16					action.close();
17				}
18			}
19		});
20  });
21});
22jQuery(function () {
23	jQuery('.js-submit-modal-allread').on('click', function() {
24		var frm = this.form;
25		var id = jQuery(this).attr('data-target-modal');
26		ecblib.ui.dialogallread(id, {
27			quit : function(action) {
28				action.close();
29			},
30			buttons : {
31				'btnsubmit' : function(action) {
32					frm.submit();
33				},
34				'btncancel' : function(action) {
35					action.close();
36				}
37			}
38		});
39  });
40});
41jQuery(function () {
42	jQuery('.js-submit-modal-snsalert').on('click', function() {
43		var frm = this.form;
44		var id = jQuery(this).attr('data-target-modal');
45		ecblib.ui.dialogsnsalert(id, {
46			quit : function(action) {
47				action.close();
48			},
49			buttons : {
50				'btnsubmit' : function(action) {
51					frm.submit();
52				},
53				'btncancel' : function(action) {
54					action.close();
55				}
56			}
57		});
58  });
59});
60jQuery(function () {
61	jQuery('.js-submit-modal-important-alert').on('click', function() {
62		var frm = this.form;
63		var title = jQuery(this).attr('title');
64		var msg = jQuery(this).attr('msg');
65		var date = jQuery(this).attr('date');
66		var subject = jQuery(this).attr('data-subject');
67		ecblib.ui.modal_alert(title, msg, date, subject, {
68			quit : function(action) {
69				action.close();
70			},
71		});
72  });
73});
74jQuery(function () {
75	jQuery('.js-submit-modal-local-info').on('click', function() {
76		var frm = this.form;
77		var title = jQuery(this).attr('title');
78		var msg = jQuery(this).attr('msg');
79		var date = jQuery(this).attr('date');
80		ecblib.ui.modal_local_info(title, msg, date, {
81			quit : function(action) {
82				action.close();
83			},
84		});
85  });
86});
87jQuery(function () {
88	jQuery('.js-submit-modal_mypage').on('click', function() {
89		var frm = this.form;
90		var title = jQuery(this).attr('title');
91		var msg = jQuery(this).attr('msg');
92		var date = jQuery(this).attr('date');
93		ecblib.ui.modal_mypage(title, msg, date, {
94			quit : function(action) {
95				action.close();
96			},
97		});
98  });
99jQuery(function () {
100	jQuery('.js-submit-modal-disaster-alert').on('click', function() {
101		var frm = this.form;
102		var title = jQuery(this).attr('title');
103		var msg = jQuery(this).attr('msg');
104		var date = jQuery(this).attr('date');
105		ecblib.ui.modal_alert(title, msg, date, {
106			quit : function(action) {
107				action.close();
108			},
109		});
110  });
111});
112});

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.