diff --git a/module/system/control.php b/module/system/control.php index 8a14af8dd2..0938fccf51 100644 --- a/module/system/control.php +++ b/module/system/control.php @@ -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')")); } /**