미로그인 시, 내 질문 감춤 처리
This commit is contained in:
parent
8d88834101
commit
aea585a3b0
@ -174,10 +174,22 @@
|
||||
}
|
||||
|
||||
function fn_changeQuestionType(searchQuestionType) {
|
||||
|
||||
<sec:authorize access="not isAuthenticated()">
|
||||
if(!fn_isEmpty(searchQuestionType)) {
|
||||
alert("로그인 후, 이용하여 주시기 바랍니다.");
|
||||
$("#tabQnaUser").removeClass("current");
|
||||
$("#tabQnaAll").addClass("current");
|
||||
return false;
|
||||
}
|
||||
</sec:authorize>
|
||||
|
||||
<sec:authorize access="isAuthenticated()">
|
||||
$("#searchQuestionType").val(searchQuestionType);
|
||||
$("#searchKeyword").val("");
|
||||
|
||||
fn_searchArticle(1);
|
||||
</sec:authorize>
|
||||
|
||||
}
|
||||
|
||||
//게시글 작성으로 이동
|
||||
@ -185,6 +197,7 @@
|
||||
|
||||
<sec:authorize access="not isAuthenticated()">
|
||||
alert("로그인 후, 이용하여 주시기 바랍니다.");
|
||||
return false;
|
||||
</sec:authorize>
|
||||
|
||||
<sec:authorize access="isAuthenticated()">
|
||||
@ -218,8 +231,10 @@
|
||||
<div class="list-box qna-box">
|
||||
<div class="tab">
|
||||
<ul class="tabs">
|
||||
<li><a href="javascript:void(0);" onclick="fn_changeQuestionType('')">전체</a></li>
|
||||
<li><a href="javascript:void(0);" onclick="fn_changeQuestionType('USER')">내 질문</a></li>
|
||||
<li id="tabQnaAll"><a href="javascript:void(0);" onclick="fn_changeQuestionType('')">전체</a></li>
|
||||
<sec:authorize access="isAuthenticated()">
|
||||
<li id="tabQnaUser"><a href="javascript:void(0);" onclick="fn_changeQuestionType('USER')">내 질문</a></li>
|
||||
</sec:authorize>
|
||||
</ul>
|
||||
<div class="title">
|
||||
<div class="list-search-wrap list-top">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user