PageSourceSearch

https://anyangjeil.org/Scripts/dimode.common.ready.js?2026100510

js anyangjeil.org collected 2026-10-05 01:08:07 UTC 3,052 bytes, 73 lines download raw bytes

1/// <reference path="../Scripts/dimode.common.library.js" />
2$(document).ready(function () {
3    if (!dimodeLib.isNullOrEmpty($.cookie('bandMessage'))) {
4        // 밴드 쿠키 메시지를 띄웁니다.
5        var bandMessage = $.cookie('bandMessage');
6        var msg = JSON.parse(bandMessage);
7        dimodeLib.bandMessage(msg.type, msg.text, msg.time);
8        $.cookie('bandMessage', null, { expires: -1, path: '/' });
9    }
10
11    $(document).on('mousedown', '.readonly', function (e) {
12        // 이 함수는 readonly라는 클래스를 가진 요소를 클릭 시 변화가 없게 처리합니다.
13        e.preventDefault();
14        this.blur();
15        window.focus();
16    });
17
18    $(document).on('focus', 'input.date', function () {
19        $(this).datepicker({
20            dateFormat: 'yy-mm-dd',
21            closeText: '닫기',
22            prevText: '이전달',
23            nextText: '다음달',
24            currentText: '오늘',
25            monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
26            monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'],
27            dayNames: ['일', '월', '화', '수', '목', '금', '토'],
28            dayNamesShort: ['일', '월', '화', '수', '목', '금', '토'],
29            dayNamesMin: ['일', '월', '화', '수', '목', '금', '토'],
30            weekHeader: 'Wk',
31            firstDay: 0,
32            isRTL: false,
33            duration: 200,
34            showAnim: 'show',
35            showMonthAfterYear: true,
36            yearSuffix: '년',
37            showOtherMonths: true,
38            selectOtherMonths: true,
39            onChangeMonthYear: function (year, month, inst) { },
40            beforeShow: function (input, inst) { },
41            onSelect: function (dateText, inst) { }
42        });
43    });
44
45    $(document).on('click', '#bandMessage #bandMessageWrapper', function () {
46        $(this).find('.message').removeClass('show').hide();
47    });
48
49	if (!window._cordovaNative) {
50    	$(document).on('click', 'a[data-href]', function () {
51	      dimodeLib.openPop($(this).data('href'), $(this).data('target'));
52    	});
53    }
54
55    //앱에서 접속했을 때 자동 로그인 처리
56    if (window.localStorage !== null && window._cordovaNative !== null) {
57        var loginInfo = window.localStorage.getItem("DimodeCMS_Login_Info");
58        if (loginInfo !== null && loginInfo != "") {
59            $.ajax({
60                type: 'POST',
61                url: '/api/autoLogin',
62                data: { 'cookie': loginInfo },
63                dataType: 'html',
64                success: function (msg) {
65                    if (msg == "success") {
66                        window.localStorage.setItem("DimodeCMS_Login_Info", $.cookie("DimodeCMS_Login_Info"));
67                        location.href = "/";
68                    }
69                }
70            });
71        }
72    }
73});

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.