관리자로 수정시 공지 분류가 제대로 표시되지 않던 오류 해결

This commit is contained in:
gnuboard
2013-05-30 11:27:27 +09:00
parent c16894daa9
commit a78b0ee86f
2 changed files with 2 additions and 15 deletions

View File

@ -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) {