mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +09:00
#18427049 : add autoinstall module
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6915 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
82d01adc2d
commit
d5c98490ad
44 changed files with 1317 additions and 0 deletions
26
modules/autoinstall/tpl/js/autoinstall.js
Normal file
26
modules/autoinstall/tpl/js/autoinstall.js
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
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;
|
||||
exec_xml('autoinstall', 'procAutoinstallAdminPackageinstall', params, completeInstall);
|
||||
}
|
||||
|
||||
function completeUpdateNoMsg(ret_obj) {
|
||||
location.reload();
|
||||
}
|
||||
|
||||
function completeInstall(ret_obj) {
|
||||
alert(ret_obj['message']);
|
||||
var params = new Array();
|
||||
exec_xml('autoinstall', 'procAutoinstallAdminUpdateinfo', params, completeUpdateNoMsg);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue