issue 160 when admin menu add, menu group create.

document count without temp status in dashbard


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9188 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-09-19 01:32:00 +00:00
parent eacdaed16f
commit e1dd4d6e3f
4 changed files with 11 additions and 5 deletions

View file

@ -17,17 +17,20 @@ jQuery(function($){
function completeGetActList(obj)
{
var $optgroup;
moduleList = obj.menuList;
console.log(moduleList);
if(moduleList)
{
var menuNameList = $('#menuNameList');
for(var x in moduleList)
{
var menuList = moduleList[x];
$optgroup = $('<optgroup label="'+x+'" />').appendTo(menuNameList);
for(var y in menuList)
{
var menu = menuList[y];
menuNameList.append('<option value="'+x+':'+y+'">'+menu.title+'</option>');
$optgroup.append('<option value="'+x+':'+y+'">'+menuList[y].title+'</option>');
}
}
}