issue 160 when new menu add after menu edit in sitemap.

not create new menu, and old menu overwrite.
this bug fix


git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9189 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2011-09-19 02:35:09 +00:00
parent e1dd4d6e3f
commit 1dd0399dca

View file

@ -105,6 +105,7 @@ $('form.siteMap')
{
editForm.find('.h2').html('Add Menu');
editForm.find('input[name=menu_srl]').val($(this).parents().prevAll('input[name=menu_srl]').val());
editForm.find('input[name=menu_item_srl]').val('');
editForm.find('input[name=parent_srl]').val(0);
editForm.find('input[name=menu_name]').val('');
editForm.find('input[name=cType]').attr('checked', false);