mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 15:22:17 +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,
|
'size' => $sSize,
|
||||||
'actions' => BlockRenderer::RenderBlockTemplates($oButton),
|
'actions' => BlockRenderer::RenderBlockTemplates($oButton),
|
||||||
);
|
);
|
||||||
$sButtonOnClickJS .= '$("#'.$oButton->GetId().'").on("click", function () {LaunchRestoreNow("'.$sFileEscaped.'", "'.$sConfirmRestore.'");});';
|
|
||||||
} else {
|
} else {
|
||||||
$aDetails[] = array('file' => $sName, 'size' => $sSize, 'actions' => BlockRenderer::RenderBlockTemplates($oButton));
|
$aDetails[] = array('file' => $sName, 'size' => $sSize, 'actions' => BlockRenderer::RenderBlockTemplates($oButton));
|
||||||
}
|
}
|
||||||
|
$sButtonOnClickJS .= '$("#'.$oButton->GetId().'").on("click", function () {LaunchRestoreNow("'.$sFileEscaped.'", "'.$sConfirmRestore.'");});';
|
||||||
}
|
}
|
||||||
$aConfig = array(
|
$aConfig = array(
|
||||||
'file' => array('label' => Dict::S('bkp-table-file'), 'description' => Dict::S('bkp-table-file+')),
|
'file' => array('label' => Dict::S('bkp-table-file'), 'description' => Dict::S('bkp-table-file+')),
|
||||||
|
|||||||
Reference in New Issue
Block a user