diff --git a/app/assets/img/x-mark-24.png b/app/assets/img/x-mark-24.png new file mode 100644 index 0000000..7aee46f Binary files /dev/null and b/app/assets/img/x-mark-24.png differ diff --git a/app/assets/js/index.js b/app/assets/js/index.js index 16c6272..0437243 100644 --- a/app/assets/js/index.js +++ b/app/assets/js/index.js @@ -26,8 +26,9 @@ $(document).ready(function() { } } }, - error: function() { - console.log("잠시 후 다시 시도하여 주세요"); + error: function(xhr, status, error) { + var errorMessage = xhr.status + ': ' + xhr.statusText; + alert('Error - ' + errorMessage); } }); @@ -48,7 +49,12 @@ $(document).ready(function() { $(".show-logged").css("display", ""); }); } - + + // 닫기 + $("a[href='#exit']").click(function() { + exit(); + }); + // 로그아웃 $("#btn_logout").click(function() { // 토큰 파일 삭제 diff --git a/lib/file.js b/lib/file.js index b7b0ab8..e20893d 100644 --- a/lib/file.js +++ b/lib/file.js @@ -13,7 +13,7 @@ var LIB = require('lib/std'); ///////////////////////////////////////////////////////////////////////////////// var scope = { - VERSIONINFO: "File Lib (file-libs.js) version 0.1", + VERSIONINFO: "File Lib (file.js) version 0.2", global: global, require: global.require }; diff --git a/token.txt b/token.txt index 953815a..e114860 100644 --- a/token.txt +++ b/token.txt @@ -1 +1 @@ -quDqC95owF2LGQfTr829qDED0KukEBkL \ No newline at end of file +BJmjZlEzFgdFEhyaYpNf16yukLW6Af92 \ No newline at end of file