mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-18 14:58:43 +02:00
N°3904 Fix scheduled backups not being restorable from user interface
This commit is contained in:
@@ -255,10 +255,10 @@ try {
|
||||
'size' => $sSize,
|
||||
'actions' => BlockRenderer::RenderBlockTemplates($oButton),
|
||||
);
|
||||
$sButtonOnClickJS .= '$("#'.$oButton->GetId().'").on("click", function () {LaunchRestoreNow("'.$sFileEscaped.'", "'.$sConfirmRestore.'");});';
|
||||
} else {
|
||||
$aDetails[] = array('file' => $sName, 'size' => $sSize, 'actions' => BlockRenderer::RenderBlockTemplates($oButton));
|
||||
}
|
||||
$sButtonOnClickJS .= '$("#'.$oButton->GetId().'").on("click", function () {LaunchRestoreNow("'.$sFileEscaped.'", "'.$sConfirmRestore.'");});';
|
||||
}
|
||||
$aConfig = array(
|
||||
'file' => array('label' => Dict::S('bkp-table-file'), 'description' => Dict::S('bkp-table-file+')),
|
||||
|
||||
Reference in New Issue
Block a user