mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
issue 70 module install, update bug fix
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9024 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3736e52399
commit
34cbe1eb82
1 changed files with 20 additions and 1 deletions
|
|
@ -761,4 +761,23 @@ $('.filebox')
|
|||
$.exec_json('module.getFileBoxListHtml', {'page': '1'}, on_complete);
|
||||
});
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
/* install module */
|
||||
function doInstallModule(module) {
|
||||
var params = new Array();
|
||||
params['module_name'] = module;
|
||||
exec_xml('install','procInstallAdminInstall',params, completeInstallModule);
|
||||
}
|
||||
|
||||
/* upgrade module */
|
||||
function doUpdateModule(module) {
|
||||
var params = new Array();
|
||||
params['module_name'] = module;
|
||||
exec_xml('install','procInstallAdminUpdate',params, completeInstallModule);
|
||||
}
|
||||
|
||||
function completeInstallModule(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
location.reload();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue