.wfsr JS code cleaning.

git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12328 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ChanMyeong 2012-11-29 08:58:46 +00:00
parent 84f0692664
commit 105ec8f948
5 changed files with 2 additions and 24 deletions

View file

@ -1,25 +1,9 @@
/* NHN (developers@xpressengine.com) */
// insert fog layer
function showWaitingFogLayer() {
var $bg = jQuery('<span class="bg"></span>');
$bg.height(jQuery(window).height());
jQuery('.wfsr')
.wrap('<div class="wfsr_fog" />')
.before($bg);
}
function hideWaitingFogLayer() {
jQuery('.wfsr').prev('span').remove();
jQuery('.wfsr').unwrap();
}
// install module
function doInstallModule(module) {
var params = new Array();
params['module_name'] = module;
exec_xml('install','procInstallAdminInstall',params, completeInstallModule);
showWaitingFogLayer();
}
// upgrade module
@ -27,7 +11,6 @@ function doUpdateModule(module) {
var params = new Array();
params['module_name'] = module;
exec_xml('install','procInstallAdminUpdate',params, completeInstallModule);
showWaitingFogLayer();
}
function completeInstallModule(ret_obj) {