2024/01/29 팝업 포커싱 오류 수정
This commit is contained in:
parent
fe5735ccc2
commit
36ed3fec13
@ -220,11 +220,19 @@ $(document).ready(function(){
|
|||||||
btnLast.attr('data-focus','sub36_pop02_close');
|
btnLast.attr('data-focus','sub36_pop02_close');
|
||||||
*/
|
*/
|
||||||
// 레이어팝업 포커싱 이동 수정
|
// 레이어팝업 포커싱 이동 수정
|
||||||
$(".tooltip-close").click(function(){
|
/* $(".tooltip-close").click(function(){
|
||||||
var activeTarget = $('[data-tooltip-con="sub37_pop20"]');
|
var activeTarget = $('[data-tooltip-con="sub37_pop20"]');
|
||||||
activeTarget.hide();
|
activeTarget.hide();
|
||||||
//$('[data-tooltip="sub37_pop20"]:first-child').focus();
|
//$('[data-tooltip="sub37_pop20"]:first-child').focus();
|
||||||
$('[data-info="${chasiInfo.eduChasiOrd}"]').focus();
|
$('[data-info="${chasiInfo.eduChasiOrd}"]').focus();
|
||||||
|
}); */
|
||||||
|
|
||||||
|
$(".tooltip-close").click(function(e){
|
||||||
|
e.stopPropagation();
|
||||||
|
$(this).closest(".popup_wrap").hide();
|
||||||
|
$(".mask").hide();
|
||||||
|
$(".focusPopBtn").focus();
|
||||||
|
$(".focusPopBtn").removeClass("focusPopBtn");
|
||||||
});
|
});
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
@ -219,6 +219,14 @@ $(document).ready(function(){
|
|||||||
btnLast.attr('data-focus-next','sub36_pop02');
|
btnLast.attr('data-focus-next','sub36_pop02');
|
||||||
btnLast.attr('data-focus','sub36_pop02_close');
|
btnLast.attr('data-focus','sub36_pop02_close');
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
$(".tooltip-close").click(function(e){
|
||||||
|
e.stopPropagation();
|
||||||
|
$(this).closest(".popup_wrap").hide();
|
||||||
|
$(".mask").hide();
|
||||||
|
$(".focusPopBtn").focus();
|
||||||
|
$(".focusPopBtn").removeClass("focusPopBtn");
|
||||||
|
});
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -220,10 +220,13 @@ $(document).ready(function(){
|
|||||||
btnLast.attr('data-focus','sub36_pop02_close');
|
btnLast.attr('data-focus','sub36_pop02_close');
|
||||||
*/
|
*/
|
||||||
// 레이어팝업 포커싱 이동 수정
|
// 레이어팝업 포커싱 이동 수정
|
||||||
$(".tooltip-close").click(function(){
|
|
||||||
var activeTarget = $('[data-tooltip-con="sub37_pop20"]');
|
$(".tooltip-close").click(function(e){
|
||||||
activeTarget.hide();
|
e.stopPropagation();
|
||||||
$('[data-tooltip="sub37_pop20"]:last-child').focus();
|
$(this).closest(".popup_wrap").hide();
|
||||||
|
$(".mask").hide();
|
||||||
|
$(".focusPopBtn").focus();
|
||||||
|
$(".focusPopBtn").removeClass("focusPopBtn");
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@ -46,6 +46,19 @@
|
|||||||
|
|
||||||
$(document).ready(function () {
|
$(document).ready(function () {
|
||||||
setNumberOnly();
|
setNumberOnly();
|
||||||
|
|
||||||
|
// 팝업 오픈 버튼
|
||||||
|
$(".popupOpenBtn").click(function(){
|
||||||
|
$(this).addClass("focusPopBtn");
|
||||||
|
});
|
||||||
|
|
||||||
|
$(".tooltip-close").click(function(e){
|
||||||
|
e.stopPropagation();
|
||||||
|
$(this).closest(".popup_wrap").hide();
|
||||||
|
$(".mask").hide();
|
||||||
|
$(".focusPopBtn").focus();
|
||||||
|
$(".focusPopBtn").removeClass("focusPopBtn");
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function setNumberOnly(){ //숫자만 입력
|
function setNumberOnly(){ //숫자만 입력
|
||||||
@ -1173,7 +1186,7 @@
|
|||||||
-
|
-
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:otherwise>
|
<c:otherwise>
|
||||||
<button type="button" class="btnType04" data-tooltip="instrInfo_pop01"
|
<button type="button" class="btnType04 popupOpenBtn" data-tooltip="instrInfo_pop01" data-info="${list.userId}"
|
||||||
onclick="selectInstrInfo('${list.userId}')" title="팝업 열림">${cryptoUtil.decrypt(list.instrNm) }</button>
|
onclick="selectInstrInfo('${list.userId}')" title="팝업 열림">${cryptoUtil.decrypt(list.instrNm) }</button>
|
||||||
</c:otherwise>
|
</c:otherwise>
|
||||||
</c:choose>
|
</c:choose>
|
||||||
@ -1183,23 +1196,23 @@
|
|||||||
<td><!-- 학생 -->
|
<td><!-- 학생 -->
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${not empty list.qustnrRespondId10 and list.qestnrParticipantCnt gt 0 and list.qustnrQesitmId10Cnt gt 0}">
|
<c:when test="${not empty list.qustnrRespondId10 and list.qestnrParticipantCnt gt 0 and list.qustnrQesitmId10Cnt gt 0}">
|
||||||
<button type="button" class="btnType02" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
<button type="button" class="btnType02 popupOpenBtn" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
||||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select'
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','select'
|
||||||
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
|
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
|
||||||
)" title="팝업 열림">설문완료</button>
|
)" title="팝업 열림">설문완료</button>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${not empty list.qestnrId10}">
|
<c:when test="${not empty list.qestnrId10}">
|
||||||
<button type="button" class="btnType01" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
<button type="button" class="btnType01 popupOpenBtn" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
||||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','insert'
|
||||||
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
|
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
|
||||||
)" title="팝업 열림">설문등록</button>
|
)" title="팝업 열림">설문등록</button>
|
||||||
|
|
||||||
<button type="button" class="btnType04" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
<button type="button" class="btnType04 popupOpenBtn" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
||||||
onclick="fncQustnrPrintList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','print'
|
onclick="fncQustnrPrintList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','print'
|
||||||
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
|
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
|
||||||
)" title="팝업 열림">설문출력</button>
|
)" title="팝업 열림">설문출력</button>
|
||||||
|
|
||||||
<button type="button" class="btnType04" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
<button type="button" class="btnType04 popupOpenBtn" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
||||||
onclick="fncQustnrQRPrintList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','print'
|
onclick="fncQustnrQRPrintList('${list.eduAplctOrd}','${list.eduChasiOrd}','10','print'
|
||||||
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
|
,'${list.qustnrTmplatId}','${list.qestnrId10}','${list.qustnrRespondId10}'
|
||||||
)" title="팝업 열림">설문QR</button>
|
)" title="팝업 열림">설문QR</button>
|
||||||
@ -1213,13 +1226,13 @@
|
|||||||
<td><!-- 신청인 -->
|
<td><!-- 신청인 -->
|
||||||
<c:choose>
|
<c:choose>
|
||||||
<c:when test="${not empty list.qustnrRespondId20 and list.qestnrParticipantCnt gt 0 and list.qustnrQesitmId20Cnt gt 0}">
|
<c:when test="${not empty list.qustnrRespondId20 and list.qestnrParticipantCnt gt 0 and list.qustnrQesitmId20Cnt gt 0}">
|
||||||
<button type="button" class="btnType02" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
<button type="button" class="btnType02 popupOpenBtn" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
||||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','20','select'
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','20','select'
|
||||||
,'${list.qustnrTmplatId}','${list.qestnrId20}','${list.qustnrRespondId20}'
|
,'${list.qustnrTmplatId}','${list.qestnrId20}','${list.qustnrRespondId20}'
|
||||||
)" title="팝업 열림">설문완료</button>
|
)" title="팝업 열림">설문완료</button>
|
||||||
</c:when>
|
</c:when>
|
||||||
<c:when test="${not empty list.qestnrId20}">
|
<c:when test="${not empty list.qestnrId20}">
|
||||||
<button type="button" class="btnType01" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
<button type="button" class="btnType01 popupOpenBtn" data-info="${list.eduChasiOrd}" data-tooltip="sub37_pop20"
|
||||||
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','20','insert'
|
onclick="fncQustnrList('${list.eduAplctOrd}','${list.eduChasiOrd}','20','insert'
|
||||||
,'${list.qustnrTmplatId}','${list.qestnrId20}','${list.qustnrRespondId20}'
|
,'${list.qustnrTmplatId}','${list.qestnrId20}','${list.qustnrRespondId20}'
|
||||||
)" title="팝업 열림">설문등록</button>
|
)" title="팝업 열림">설문등록</button>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user