* Use callback to call the js function.

This commit is contained in:
dingguodong
2024-06-12 10:14:52 +08:00
committed by caoyanyi
parent eb3fe3f222
commit f03d391e2b
+2 -2
View File
@@ -236,7 +236,7 @@ class system extends control
$this->loadModel('action')->create('system', 0, 'restoreBackup', '', $backupName);
$this->send($result + array('load' => true));
$this->send($result + array('load' => true, 'callback' => "restoreInProcess('$backupName')"));
}
/**
@@ -254,7 +254,7 @@ class system extends control
$this->loadModel('action')->create('system', 0, 'deleteBackup', '', $backupName);
$this->send($result + array('load' => true));
$this->send($result + array('load' => true, 'callback' => "deleteInProcess('$backupName')"));
}
/**