mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 07:09:56 +09:00
issue 160, show fog layer when module install/update
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@9328 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
d0d528d943
commit
e734c402db
1 changed files with 12 additions and 0 deletions
|
|
@ -1112,11 +1112,21 @@ $('.filebox')
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/* insert fog layer */
|
||||||
|
function showWaitingFogLayer() {
|
||||||
|
jQuery('.wfsr').wrap('<div class="wfsr_fog" />');
|
||||||
|
}
|
||||||
|
|
||||||
|
function hideWaitingFogLayer() {
|
||||||
|
jQuery('.wfsr').unwrap();
|
||||||
|
}
|
||||||
|
|
||||||
/* install module */
|
/* install module */
|
||||||
function doInstallModule(module) {
|
function doInstallModule(module) {
|
||||||
var params = new Array();
|
var params = new Array();
|
||||||
params['module_name'] = module;
|
params['module_name'] = module;
|
||||||
exec_xml('install','procInstallAdminInstall',params, completeInstallModule);
|
exec_xml('install','procInstallAdminInstall',params, completeInstallModule);
|
||||||
|
showWaitingFogLayer();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* upgrade module */
|
/* upgrade module */
|
||||||
|
|
@ -1124,9 +1134,11 @@ function doUpdateModule(module) {
|
||||||
var params = new Array();
|
var params = new Array();
|
||||||
params['module_name'] = module;
|
params['module_name'] = module;
|
||||||
exec_xml('install','procInstallAdminUpdate',params, completeInstallModule);
|
exec_xml('install','procInstallAdminUpdate',params, completeInstallModule);
|
||||||
|
showWaitingFogLayer();
|
||||||
}
|
}
|
||||||
|
|
||||||
function completeInstallModule(ret_obj) {
|
function completeInstallModule(ret_obj) {
|
||||||
|
hideWaitingFogLayer();
|
||||||
alert(ret_obj['message']);
|
alert(ret_obj['message']);
|
||||||
location.reload();
|
location.reload();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue