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.