mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 17:44:38 +09:00
issue 160 default action change to arrange menu in sitemap admin
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9251 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3c3481f377
commit
867ae8f6ab
3 changed files with 13 additions and 10 deletions
|
|
@ -85,12 +85,16 @@ $('form.siteMap')
|
|||
}
|
||||
|
||||
$('a._delete').click(function() {
|
||||
menuSrl = $(this).parents().prevAll('input[name=menu_srl]').val();
|
||||
menuForm = $('#menu_'+menuSrl);
|
||||
if(confirmDelete())
|
||||
{
|
||||
menuSrl = $(this).parents().prevAll('input[name=menu_srl]').val();
|
||||
menuForm = $('#menu_'+menuSrl);
|
||||
|
||||
var menu_item_srl = $(this).parent().prevAll('._item_key').val();
|
||||
menuForm.find('input[name=menu_item_srl]').val(menu_item_srl);
|
||||
menuForm.submit();
|
||||
var menu_item_srl = $(this).parent().prevAll('._item_key').val();
|
||||
menuForm.find('input[name=menu_item_srl]').val(menu_item_srl);
|
||||
menuForm.find('input[name=act]').val('procMenuAdminDeleteItem');
|
||||
menuForm.submit();
|
||||
}
|
||||
});
|
||||
|
||||
var kindModuleLayer = $('#kindModule');
|
||||
|
|
@ -190,7 +194,7 @@ $('form.siteMap')
|
|||
});
|
||||
});
|
||||
|
||||
function confirmDelete(form)
|
||||
function confirmDelete()
|
||||
{
|
||||
if(confirm(xe.lang.confirm_delete)) return true;
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue