* [task#116512] Fix typo.

This commit is contained in:
dingguodong
2024-06-14 02:23:29 +00:00
committed by 李阳
parent 7bc26b512c
commit 5ac525d2df
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -185,7 +185,7 @@ class backup extends control
if($result['result'] == 'success')
{
$backupName = $result['data']->backup_name;
$this->send($result + array('callback' => "backupInProcess('$backupName')"));
$this->send($result + array('callback' => "backupInProgress('$backupName')"));
}
else
{
+3 -3
View File
@@ -113,7 +113,7 @@ $(document).off('click', '.modal [z-key="confirm"]').on('click', '.modal [z-key=
if(deleting) $('#main').addClass('loading');
});
window.backupInProcess = function(backupName)
window.backupInProgress = function(backupName)
{
if(!inQuickon) return false;
@@ -132,7 +132,7 @@ window.backupInProcess = function(backupName)
}, 2000);
};
window.restoreInProcess = function(backupName)
window.restoreInProgress = function(backupName)
{
if(!inQuickon) return false;
@@ -152,7 +152,7 @@ window.restoreInProcess = function(backupName)
}, 2000);
};
window.deleteInProcess = function(backupName)
window.deleteInProgress = function(backupName)
{
if(!inQuickon) return false;
+3 -3
View File
@@ -247,7 +247,7 @@ class system extends control
if($result['result'] == 'success')
{
$backupName = $result['data']->backup_name;
$this->send($result + array('callback' => "backupInProcess('$backupName')"));
$this->send($result + array('callback' => "backupInProgress('$backupName')"));
}
else
{
@@ -287,7 +287,7 @@ class system extends control
$this->loadModel('action')->create('system', 0, 'restoreBackup', '', $backupName);
$this->send($result + array('load' => true, 'callback' => "restoreInProcess('$backupName')"));
$this->send($result + array('load' => true, 'callback' => "restoreInProgress('$backupName')"));
}
/**
@@ -306,7 +306,7 @@ class system extends control
$this->loadModel('action')->create('system', 0, 'deleteBackup', '', $backupName);
$this->send($result + array('load' => true, 'callback' => "deleteInProcess('$backupName')"));
$this->send($result + array('load' => true, 'callback' => "deleteInProgress('$backupName')"));
}
/**