mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-21 04:09:55 +09:00
issue 160 admin setup bug fix
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9154 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
562b227f74
commit
ea20e214ba
5 changed files with 13 additions and 8 deletions
|
|
@ -5,7 +5,7 @@ jQuery(function($){
|
|||
var listForm = $('#listForm');
|
||||
|
||||
$('a._add').click(function(){
|
||||
parentSrl = $(this).parent().prevAll('._parent_key').val();
|
||||
parentSrl = $(this).parent().prevAll('._item_key').val();
|
||||
editForm.find('input[name=parent_srl]').val(parentSrl);
|
||||
if(!menuList)
|
||||
{
|
||||
|
|
@ -40,7 +40,7 @@ jQuery(function($){
|
|||
});
|
||||
|
||||
$('a._child_delete').click(function() {
|
||||
var menu_item_srl = $(this).parents('li').find('._child_key').val();
|
||||
var menu_item_srl = $(this).parents('li').find('._item_key').val();
|
||||
listForm.find('input[name=menu_item_srl]').val(menu_item_srl);
|
||||
listForm.submit();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue