Merge branch 'master' of http://docs.nculture.org:30000/nculture/iams.nlib
This commit is contained in:
commit
d9e979f487
@ -146,25 +146,25 @@
|
||||
else {
|
||||
$("#itemsCount").text(jsonObj.itemsCount);
|
||||
}
|
||||
$( "div.list-data").empty();
|
||||
var t_title = "";
|
||||
t_title += "<div class=\"list t-tit-line\">"
|
||||
t_title += "<div class=\"t-chk\"><label for=\"allChk\" style=\"display:none;\">전체 체크</label><input type=\"checkbox\" id=\"allChk\" onclick=\"selectAllChk();\"><span class=\"mo-ver\"><strong>전체선택</strong> (3/3)</span></div>"
|
||||
t_title += "<div class=\"t-cultural t-mo\">문화원</div>"
|
||||
t_title += "<div class=\"t-data t-mo\">자료정보</div>"
|
||||
t_title += "<div class=\"t-btn t-mo\">이용</div>"
|
||||
t_title += "<div class=\"t-delete mo-ver\">선택삭제</div>"
|
||||
t_title += "</div>"
|
||||
t_title += "<li class=\"no-result\" style=\"display:none;\">"
|
||||
t_title += "<span>검색결과가 없습니다.</span>"
|
||||
t_title += "</li>"
|
||||
|
||||
$( "div.list-data").append(t_title);
|
||||
|
||||
if(!jsonObj.data || jsonObj.data.length <= 0 ) {
|
||||
$("div.list-data li.no-result").show();
|
||||
} else {
|
||||
$("div.list-data li.no-result").hide();
|
||||
|
||||
$( "div.list-data").empty();
|
||||
var t_title = "";
|
||||
t_title += "<div class=\"list t-tit-line\">"
|
||||
t_title += "<div class=\"t-chk\"><label for=\"allChk\" style=\"display:none;\">전체 체크</label><input type=\"checkbox\" id=\"allChk\" onclick=\"selectAllChk();\"><span class=\"mo-ver\"><strong>전체선택</strong> (3/3)</span></div>"
|
||||
t_title += "<div class=\"t-cultural t-mo\">문화원</div>"
|
||||
t_title += "<div class=\"t-data t-mo\">자료정보</div>"
|
||||
t_title += "<div class=\"t-btn t-mo\">이용</div>"
|
||||
t_title += "<div class=\"t-delete mo-ver\">선택삭제</div>"
|
||||
t_title += "</div>"
|
||||
t_title += "<li class=\"no-result\" style=\"display:none;\">"
|
||||
t_title += "<span>검색결과가 없습니다.</span>"
|
||||
t_title += "</li>"
|
||||
|
||||
$( "div.list-data").append(t_title);
|
||||
// 출력
|
||||
$.each(jsonObj.data,function(key,obj) {
|
||||
var t_data = "";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user