Commit 3b875d1f by Kang Donghun

Add reset to search terms, translate Korean lang.json, and clean up code

parent 5f63946e
......@@ -2,7 +2,7 @@
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header bg-dark10">
<h5 class="modal-title lang" lang="confirmation"></h5>
<h5 class="modal-title lang" lang="confirmation" id="modalTitle"></h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
......
......@@ -79,38 +79,38 @@
"sendDate":"송신일시",
"sender":"송신자",
"content":"내용",
"buttonOperationSelect":"Operation",
"labelSendTypeTitle":"Type",
"labelSendTypeGroup":"Group",
"labelSendTypeAll":"All",
"txtMessageContent":"Message",
"buttonTemplateSelection":"Template",
"buttonSend":"Send",
"msgContentRequired":"Content is required",
"msgContentInvalidLength":"The content length exceeds the maximum of {0} characters",
"msgOperationRequired":"Operation is required",
"msgSendTypeRequired":"Send type is required",
"operationSelection":"Operation select",
"selection":"Selection",
"templateSelection":"Template selection",
"logo":"logo",
"listDisplay":"list display",
"gridDisplay":"Grid display",
"operationListSearchPlacehoder":"Operation Name",
"searchIcon":"Search Icon",
"category":"Category",
"term":"Term",
"searchClear":"Search Clear",
"calendar":"Calendar",
"startDate":"Start Date",
"endDate":"End Date",
"sortBy":"Sort By",
"sortByName":"Name",
"sortByStartDate":"Start Date",
"sortByEndDate":"End Date",
"sortByLastEdit":"Last Edit",
"categorySelection":"Category Selection",
"categoryAll":"All",
"buttonOperationSelect":"작업",
"labelSendTypeTitle":"타입",
"labelSendTypeGroup":"그룹",
"labelSendTypeAll":"전체",
"txtMessageContent":"메시지",
"buttonTemplateSelection":"정형문",
"buttonSend":"전송",
"msgContentRequired":"전송할 내용이 없습니다.",
"msgContentInvalidLength":"최대 전송 가능한 메시지 글자 수는 {0} 자입니다.",
"msgOperationRequired":"작업을 선택되지 않았습니다.",
"msgSendTypeRequired":"전송할 타입이 선택되지 않았습니다.",
"operationSelection":"작업 선택",
"selection":"선택",
"templateSelection":"정형문 선택",
"logo":"로고",
"listDisplay":"일람 표시",
"gridDisplay":"그리드 표시",
"operationListSearchPlacehoder":"작업명",
"searchIcon":"검색",
"category":"카테고리",
"term":"기간",
"searchClear":"검색 초기화",
"calendar":"달력",
"startDate":"개시일",
"endDate":"종료일",
"sortBy":"정렬",
"sortByName":"작업명",
"sortByStartDate":"개시일",
"sortByEndDate":"종료일",
"sortByLastEdit":"최근 수정일",
"categorySelection":"카테고리 선택",
"categoryAll":"전체",
"reportForm": "보고서",
"periodicInspectionPeriod": "정기점검기간",
"msgSendPushMessageSuccess":"푸시메시지를 보냈습니다.",
......
......@@ -129,6 +129,7 @@ DASHBOARD.init = function () {
sessionStorage.activeHomePage = CONSTANT.PAGE_TAB.DASHBOARD;
sessionStorage.removeItem("operationId");
sessionStorage.removeItem("RL_searchWord");
DASHBOARD.loadCommon();
DashboardSetting.getSettingData(function (settings) {
DASHBOARD.getDashboardData(function (dataDashboard) {
......
......@@ -24,6 +24,7 @@ OL.init = function () {
console.log('OperationList start');
sessionStorage.activeHomePage = CONSTANT.PAGE_TAB.OPERATION_LIST;
sessionStorage.removeItem("operationId");
sessionStorage.removeItem("RL_searchWord");
TEMPLATE.loadHeader('#includedHeader');
TEMPLATE.loadMainNavsTitle('#includedMainTitle', 'workList', true, null);
......
......@@ -29,6 +29,9 @@ RL.loadCommon = function () {
};
/**
* create breadcrumb menu on ReportList
*/
RL.initBreadcrumb = function () {
if (sessionStorage.activeHomePage == CONSTANT.PAGE_TAB.DASHBOARD) {
navs = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment