mirror of
https://github.com/tsingui/softcenter-1.git
synced 2024-12-26 20:05:18 +00:00
update swap
This commit is contained in:
parent
8a07458caf
commit
ad5002403f
@ -54,7 +54,7 @@ function init() {
|
|||||||
setTimeout("write_usb_status()", 200);
|
setTimeout("write_usb_status()", 200);
|
||||||
}
|
}
|
||||||
function applyRule() {
|
function applyRule() {
|
||||||
document.form.action_mode.value = ' Refresh ';
|
document.form.action_mode.value = 'toolscript';
|
||||||
var mode = document.getElementById("swap_size").value;
|
var mode = document.getElementById("swap_size").value;
|
||||||
if (mode == "1"){
|
if (mode == "1"){
|
||||||
show_swap_LoadingBar(20);
|
show_swap_LoadingBar(20);
|
||||||
@ -67,12 +67,12 @@ function applyRule() {
|
|||||||
document.form.submit();
|
document.form.submit();
|
||||||
}
|
}
|
||||||
function check_usb(){
|
function check_usb(){
|
||||||
document.form.action_mode.value = ' Refresh ';
|
document.form.action_mode.value = 'toolscript';
|
||||||
document.form.action_script.value = "swap_check.sh";
|
document.form.action_script.value = "swap_check.sh";
|
||||||
document.form.submit();
|
document.form.submit();
|
||||||
}
|
}
|
||||||
function unload_swap(){
|
function unload_swap(){
|
||||||
document.form.action_mode.value = ' Refresh ';
|
document.form.action_mode.value = 'toolscript';
|
||||||
document.form.action_script.value = "swap_unload.sh";
|
document.form.action_script.value = "swap_unload.sh";
|
||||||
showLoading(5);
|
showLoading(5);
|
||||||
refreshpage(5);
|
refreshpage(5);
|
||||||
|
Loading…
Reference in New Issue
Block a user