mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 11:44:10 +09:00
Fix #1629 error when more than one menu is named '__ADMINMENU_V17__'
This commit is contained in:
parent
9412cc4a22
commit
0188bb817b
4 changed files with 24 additions and 26 deletions
|
|
@ -83,20 +83,14 @@ function iconDeleteMessage(ret_obj){
|
|||
}
|
||||
function doRecompileCacheFile() {
|
||||
if (!confirm(xe.lang.confirm_run)) return;
|
||||
var params = [];
|
||||
exec_xml("admin","procAdminRecompileCacheFile", params, completeCacheMessage);
|
||||
}
|
||||
function completeCacheMessage(ret_obj) {
|
||||
alert(ret_obj.message);
|
||||
exec_json('admin.procAdminRecompileCacheFile', {}, function(data) {
|
||||
alert(data.message);
|
||||
});
|
||||
}
|
||||
|
||||
function doResetAdminMenu() {
|
||||
if (!confirm(xe.lang.confirm_reset_admin_menu)) return;
|
||||
var params = [];
|
||||
params.menu_srl = admin_menu_srl;
|
||||
exec_xml("admin","procAdminMenuReset", params, completeResetAdminMenu);
|
||||
exec_json('admin.procAdminMenuReset', {}, function() {
|
||||
window.location.reload();
|
||||
});
|
||||
}
|
||||
function completeResetAdminMenu(ret_obj) {
|
||||
document.location.reload();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue