2024/01/19 청소년 교육신청 교육차시 추가 시 name 이름 수정, head title 수정

This commit is contained in:
subsub 2024-01-19 17:08:58 +09:00
parent df49a0bbce
commit 9e8655142a
2 changed files with 25 additions and 1 deletions

View File

@ -6,6 +6,30 @@ $(document).ready(function () {
gnbOpen();
}, 100);
// head title
var dep01_Text = $("#p_menu_nm_navi").text();
var dep02_Text = $("#menu_nm_navi").text();
if($("#menu_nm_navi").length == 0){
dep02_Text = $("#sub").children(".cont_tit").find("h2").text();
}else{
dep02_Text;
}
if($(".cont_tit h2").text() == "마이페이지"){
$("head title").text("마이페이지 < 한국저작권위원회 저작권배움터");
}else if($(".main").length == 1){
$("head title").text("메인페이지 < 한국저작권위원회 저작권배움터");
}
else if($(".cont_tit h2").text() == "로그인"){
$("head title").text("로그인페이지 < 한국저작권위원회 저작권배움터");
}
else{
$("head title").text(dep02_Text+" < "+dep01_Text+" < "+" 한국저작권위원회 저작권배움터");
}
if($(".full_menu .depth01_li a:contains('ZOOM 신청 게시판(청소년)')").length == "1"){
$(".full_menu .depth01_li>a").css("width","24%");
$(".full_menu .depth01_li .depth02").css("width","calc(100% - 50px)");

View File

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