mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
관리자 메뉴 추가에서 빈 메뉴 항목을 잘못 표시하는 문제 수정
모듈에서 노출하는 메뉴가 없을 때 `undefined` 항목이 다수 잘못 표시되는 문제를 해결합니다.
This commit is contained in:
parent
7a7cdb6389
commit
b5ae96e0ff
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ jQuery(function($){
|
|||
for(var x in moduleList)
|
||||
{
|
||||
var menuList = moduleList[x];
|
||||
if (!menuList)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
$optgroup = $('<optgroup label="'+x+'" />').appendTo(menuNameList);
|
||||
for(var y in menuList)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue