mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 08:39:58 +09:00
issue 160 when menu add or modify in sitemap.
page type can selectable git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9255 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
a67c1740b0
commit
ad6463e9ae
6 changed files with 28 additions and 14 deletions
|
|
@ -46,6 +46,7 @@ $('form.siteMap')
|
|||
editForm.find('input[name=menu_name]').val(menuItem.name);
|
||||
|
||||
var moduleType = menuItem.moduleType;
|
||||
if(menuItem.pageType) moduleType = menuItem.pageType;
|
||||
var inputCType = editForm.find('input[name=cType]');
|
||||
|
||||
if(moduleType == 'url')
|
||||
|
|
@ -171,8 +172,10 @@ $('form.siteMap')
|
|||
|
||||
function completeGetModuleList(ret_obj)
|
||||
{
|
||||
var midList = ret_obj.module_list[$('#kModule').val()].list;
|
||||
var module = $('#kModule').val();
|
||||
if(module == 'WIDGET' || module == 'ARTICLE' || module == 'OUTSIDE') module = 'page';
|
||||
|
||||
var midList = ret_obj.module_list[module].list;
|
||||
var htmlBuffer = "";
|
||||
for(x in midList)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue