mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-12 05:22:35 +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
|
|
@ -762,3 +762,22 @@ $('.filebox')
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/* 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