issue 2313 set selected value is theme value

git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11110 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ovclas 2012-08-29 03:01:26 +00:00
parent 5142ab64f8
commit 5505577b67
3 changed files with 19 additions and 4 deletions

View file

@ -161,7 +161,7 @@ $('form.siteMap')
editForm.find('input[name=menu_name]').val('');
editForm.find('input[name=cType]').attr('checked', false);
editForm.find('input[name=create_menu_url]').val('');
editForm.find('select[name=layout_srl]')[0].options[0].selected = true;
editForm.find('select[name=layout_srl]').val(xe.current_layout);
editForm.find('input[name=menu_url]').val('');
editForm.find('input[name=menu_open_window]')[0].checked = true;
editForm.find('input[name=group_srls\\[\\]]').attr('checked', false);
@ -292,7 +292,7 @@ $('form.siteMap')
}
else if(checkedValue == 'CREATE')
{
$('#layoutSrl').val('0');
$('#layoutSrl').val(xe.current_layout);
}
}