2024/01/16 캘린더 ID 중복 오류 수정, 팝업 탭 순서 수정

This commit is contained in:
subsub 2024-01-16 17:01:17 +09:00
parent 6a8911d71f
commit 8518395413
3 changed files with 15 additions and 10 deletions

View File

@ -66,7 +66,7 @@
} }
$(document).ready(function(){ $(document).ready(function(){
boardCaptionDetailToggle4(); //boardCaptionDetailToggle4();
// 레이어팝업 포커싱 이동 수정 // 레이어팝업 포커싱 이동 수정
$(".tooltip-close").click(function(){ $(".tooltip-close").click(function(){
@ -76,10 +76,11 @@ $(document).ready(function(){
}); });
//레이어팝업 초정 이동 시 필요한 data 값 추가 //레이어팝업 초정 이동 시 필요한 data 값 추가
var btnLast = $('.popup_cont').find('.page').find('button:last-child'); var btnLast = $('.popup_cont').find('.page').find('button').last();
setTimeout(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');
},100);
}) })
</script> </script>
<!-- 일정 상세 --> <!-- 일정 상세 -->

View File

@ -12,7 +12,7 @@
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
boardCaptionDetailToggle4(); //boardCaptionDetailToggle4();
// 레이어팝업 포커싱 이동 수정 // 레이어팝업 포커싱 이동 수정
$(".tooltip-close").click(function(){ $(".tooltip-close").click(function(){
@ -20,9 +20,13 @@
}); });
//레이어팝업 초정 이동 시 필요한 data 값 추가 //레이어팝업 초정 이동 시 필요한 data 값 추가
var btnLast = $('.popup_cont').find('.page').find('button:last-child'); var btnLast = $('.popup_cont').find('.page').find('button').last();
console.log(btnLast);
setTimeout(function(){
btnLast.attr('data-focus-next','sub01_pop01'); btnLast.attr('data-focus-next','sub01_pop01');
btnLast.attr('data-focus','sub01_pop01_close'); btnLast.attr('data-focus','sub01_pop01_close');
},100)
}); });

View File

@ -655,7 +655,7 @@ function addEduClassCopyTngr(target) {
var duetdateleng = $("duet-date-picker").length+1; var duetdateleng = $("duet-date-picker").length+1;
cloneObj.find(".calendar_th").append('<div class="calendar_wrap"><duet-date-picker identifier="date" class="startDate'+duetdateleng+'" name="eduHopeDt"></duet-date-picker></div>'); cloneObj.find(".calendar_th").append('<div class="calendar_wrap"><duet-date-picker identifier="date" class="startDate'+duetdateleng+'" name="eduHopeDt'+duetdateleng+'"></duet-date-picker></div>');
if(target == 'addClassRowClsrm'){ if(target == 'addClassRowClsrm'){
len = parent.find('tbody > tr').not('.calendar_wrap tr').length; len = parent.find('tbody > tr').not('.calendar_wrap tr').length;