mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7156 201d5d3c-b55e-5fd7-737f-ddc643e51545
33 lines
868 B
JavaScript
33 lines
868 B
JavaScript
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();
|
|
}
|
|
|
|
function completeInstall(ret_obj) {
|
|
alert(ret_obj['message']);
|
|
if(ret_obj['error'] != 0) return;
|
|
var params = new Array();
|
|
exec_xml('autoinstall', 'procAutoinstallAdminUpdateinfo', params, completeUpdateNoMsg);
|
|
}
|
|
|