issue 1577 add expand option in sitemap

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10404 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-03-09 06:01:46 +00:00
parent 97a967e3b8
commit 0655d09793
4 changed files with 12 additions and 1 deletions

View file

@ -78,6 +78,11 @@ $('form.siteMap')
if(openWindow == 'Y') openWindowForm[1].checked = true;
else openWindowForm[0].checked = true;
var expand = menuItem.expand;
var expandForm = editForm.find('input=[name=menu_expand]');
if(expand == 'Y') expandForm[0].checked = true;
else expandForm[0].checked = false;
// button image
if(menuItem.normal_btn) $('#normal_btn_preview').html('<img src="'+menuItem.normal_btn+'" /><input type="checkbox" name="isNormalDelete" value="Y"> Delete');
if(menuItem.hover_btn) $('#hover_btn_preview').html('<img src="'+menuItem.hover_btn+'" /><input type="checkbox" name="isHoverDelete" value="Y"> Delete');