mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
rollback r10320, r10298, r10276, r10272
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10318 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f8dd9888f6
commit
206ded7cf9
149 changed files with 3745 additions and 2812 deletions
43
modules/autoinstall/tpl/js/autoinstall.js
Normal file
43
modules/autoinstall/tpl/js/autoinstall.js
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
function completeUpdate(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
location.reload();
|
||||
}
|
||||
|
||||
function doUpdate() {
|
||||
var params = new Array();
|
||||
exec_xml('autoinstall', 'procAutoinstallAdminUpdateinfo', params, completeUpdate);
|
||||
}
|
||||
|
||||
function doInstallPackage(package_srl) {
|
||||
var params = new Array();
|
||||
params['package_srl'] = package_srl;
|
||||
var e = jQuery("#ftp_password").get(0)
|
||||
if(typeof(e) != "undefined")
|
||||
{
|
||||
params['ftp_password'] = e.value;
|
||||
}
|
||||
|
||||
exec_xml('autoinstall', 'procAutoinstallAdminPackageinstall', params, completeInstall);
|
||||
}
|
||||
|
||||
function completeUpdateNoMsg(ret_obj) {
|
||||
//location.reload();
|
||||
var src = current_url.setQuery('act', 'dispAutoinstallAdminIndex');
|
||||
location.href = src;
|
||||
}
|
||||
|
||||
function completeInstall(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
if(ret_obj['error'] != 0) return;
|
||||
var params = new Array();
|
||||
exec_xml('autoinstall', 'procAutoinstallAdminUpdateinfo', params, completeUpdateNoMsg);
|
||||
}
|
||||
|
||||
function completeUninstall(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
if(ret_obj['error'] != 0) return;
|
||||
var params = new Array();
|
||||
exec_xml('autoinstall', 'procAutoinstallAdminUpdateinfo', params, completeUpdateNoMsg);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue