mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
Merge pull request #2255 from kkigomi/patch-1
관리자 메뉴 추가에서 빈 메뉴 항목을 잘못 표시하는 문제 수정
This commit is contained in:
commit
85fd994156
1 changed files with 4 additions and 0 deletions
|
|
@ -26,6 +26,10 @@ jQuery(function($){
|
||||||
for(var x in moduleList)
|
for(var x in moduleList)
|
||||||
{
|
{
|
||||||
var menuList = moduleList[x];
|
var menuList = moduleList[x];
|
||||||
|
if (!menuList)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
$optgroup = $('<optgroup label="'+x+'" />').appendTo(menuNameList);
|
$optgroup = $('<optgroup label="'+x+'" />').appendTo(menuNameList);
|
||||||
for(var y in menuList)
|
for(var y in menuList)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue