hash로 수정

This commit is contained in:
주수현
2025-07-28 12:27:30 +09:00
parent d7299d4f5b
commit 2a51bd0b41
6 changed files with 29 additions and 2 deletions

View File

@@ -347,4 +347,13 @@ kri.form.setSelectBoxUiCode = function({
getParentValue: () => parentSelectUI.getValue(),
getChildValue: () => childSelectUI?.getValue() ?? ''
};
}
}
$(window).off('hashchange.modalClose').on('hashchange.modalClose', function() {
if (window.location.hash !== '#modal-open') {
const modal01 = document.querySelector(ENV.modal.selector)?.ui;
if (modal01) {
modal01.close();
}
}
});