관리자로 수정시 공지 분류가 제대로 표시되지 않던 오류 해결
This commit is contained in:
@ -153,19 +153,6 @@ echo $option_hidden;
|
||||
</form>
|
||||
|
||||
<script>
|
||||
<?php
|
||||
// 관리자라면 분류 선택에 '공지' 옵션을 추가함
|
||||
if ($is_admin)
|
||||
{
|
||||
echo '
|
||||
if (ca_name_select = document.getElementById("ca_name")) {
|
||||
ca_name_select.options.length += 1;
|
||||
ca_name_select.options[ca_name_select.options.length-1].value = "공지";
|
||||
ca_name_select.options[ca_name_select.options.length-1].text = "공지";
|
||||
}';
|
||||
}
|
||||
?>
|
||||
|
||||
function html_auto_br(obj)
|
||||
{
|
||||
if (obj.checked) {
|
||||
|
||||
Reference in New Issue
Block a user