mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
prevent from deleting home menu
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12530 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
79233d1bb9
commit
1da5fe7d30
1 changed files with 7 additions and 0 deletions
|
|
@ -702,6 +702,7 @@
|
|||
xe.lang.img_deleted = '{$lang->img_deleted}';
|
||||
xe.lang.no_use_layout = '{$lang->no_use_layout}';
|
||||
xe.lang.shortcut_desc = '{$lang->shortcut_desc}';
|
||||
xe.lang.msg_cannot_delete_homemenu = '{$lang->msg_cannot_delete_homemenu}';
|
||||
</script>
|
||||
|
||||
<!--[if IE 7]>
|
||||
|
|
@ -3277,6 +3278,12 @@ jQuery(function($){
|
|||
}
|
||||
|
||||
$('._deleteMenu').click(function(){
|
||||
var htInfo = htNodeInfo[$._xeAdminVar.sSelectedMenuSrl];
|
||||
if(htInfo.is_start_module){
|
||||
alert(xe.lang.msg_cannot_delete_homemenu);
|
||||
return;
|
||||
}
|
||||
|
||||
$.xeMsgBox.confirmDialog({
|
||||
sTitle : xe.lang.confirm_menu_delete,
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue