Index: arms/js/common.js =================================================================== diff -u -r8b0982878d351d2f59a78124d063a96a66b7c3fa -r5dc77a0c3dd0f7dc83300440bfd31e03c3d9dc69 --- arms/js/common.js (.../common.js) (revision 8b0982878d351d2f59a78124d063a96a66b7c3fa) +++ arms/js/common.js (.../common.js) (revision 5dc77a0c3dd0f7dc83300440bfd31e03c3d9dc69) @@ -23,6 +23,7 @@ } $.getStylesheet = function(href) { + $(".spinner").html(" 플러그인 스타일시트를 다운로드 중입니다..."); $("", { rel: "stylesheet", type: "text/css", @@ -31,6 +32,7 @@ }; $.getJavascript = function(href) { + $(".spinner").html(" 자바스크립트 라이브러리를 다운로드 중입니다..."); $.ajax({ url: href, dataType: "script", @@ -39,7 +41,11 @@ }); }; + if (ajax_setup()) { + $(".spinner").html(" 어플리케이션 API Data를 가져오는 중입니다..."); + $(".loader").removeClass("hide"); + var page = urlParams.get("page"); if (includeLayout(page)) { var str = window.location.href; @@ -61,14 +67,6 @@ } } - var onlyContents = urlParams.get("withoutLayer"); - if (isEmpty(onlyContents)) { - $("body").removeAttr("class"); - } else { - $("body").addClass("sidebar-hidden"); - $("header.page-header").hide(); - } - //dwr_login("test","admin"); }); @@ -929,19 +927,26 @@ .ajaxStart(function () { $(".loader").removeClass("hide"); }) - .ajaxSend(function (event, jqXHR, ajaxOptions) {}) - .ajaxSuccess(function (event, jqXHR, ajaxOptions, data) {}) + .ajaxSend(function (event, jqXHR, ajaxOptions) { + //$(".loader").addClass("hide"); + }) + .ajaxSuccess(function (event, jqXHR, ajaxOptions, data) { + //$(".loader").addClass("hide"); + }) .ajaxError(function (event, jqXHR, ajaxSettings, thrownError) { $(".loader").addClass("hide"); if (jqXHR.status == 401) { jError("클라이언트가 인증되지 않았거나, 유효한 인증 정보가 부족하여 요청이 거부되었습니다."); location.href = "/oauth2/authorization/middle-proxy"; } else if (jqXHR.status == 403) { jError("서버가 해당 요청을 이해했지만, 권한이 없어 요청이 거부되었습니다."); + location.href = "/oauth2/authorization/middle-proxy"; + } else if (jqXHR.status == 500) { + jError("서버가 해당 요청을 이해했지만, 실행 할 수 없습니다."); } }) .ajaxComplete(function (event, jqXHR, ajaxOptions) { - $(".loader").addClass("hide"); + //$(".loader").addClass("hide"); }) .ajaxStop(function () { $(".loader").addClass("hide"); Index: arms/template.html =================================================================== diff -u -r7e1cd2d7ba08c15c9e9e9f82691cde62b2015252 -r5dc77a0c3dd0f7dc83300440bfd31e03c3d9dc69 --- arms/template.html (.../template.html) (revision 7e1cd2d7ba08c15c9e9e9f82691cde62b2015252) +++ arms/template.html (.../template.html) (revision 5dc77a0c3dd0f7dc83300440bfd31e03c3d9dc69) @@ -134,7 +134,7 @@ - + @@ -198,8 +198,8 @@ - - 데이터를 처리 중입니다. + + 어플리케이션 API Data를 가져오는 중입니다... Index: community/template.html =================================================================== diff -u -r7e1cd2d7ba08c15c9e9e9f82691cde62b2015252 -r5dc77a0c3dd0f7dc83300440bfd31e03c3d9dc69 --- community/template.html (.../template.html) (revision 7e1cd2d7ba08c15c9e9e9f82691cde62b2015252) +++ community/template.html (.../template.html) (revision 5dc77a0c3dd0f7dc83300440bfd31e03c3d9dc69) @@ -117,8 +117,8 @@ - - + + @@ -165,8 +165,8 @@ - - 데이터를 처리 중입니다. + + 어플리케이션 API Data를 가져오는 중입니다...