fix: [template:update_all] Correct usage of modal parameters
parent
16a50c08a3
commit
6fe1318ada
|
@ -132,8 +132,10 @@ echo $this->Bootstrap->modal([
|
|||
'bodyHtml' => $bodyHtml,
|
||||
'size' => $modalSize,
|
||||
'type' => $modalType,
|
||||
'confirmText' => __('Update meta-templates'),
|
||||
'confirmFunction' => 'updateMetaTemplate',
|
||||
'confirmButton' => [
|
||||
'text' => __('Update meta-templates'),
|
||||
'onclick' => 'updateMetaTemplate',
|
||||
],
|
||||
]);
|
||||
?>
|
||||
|
||||
|
|
|
@ -36,4 +36,4 @@ $modalOptions = array_merge($defaultOptions, $modalOptions ?? []);
|
|||
$modalOptions['bodyHtml'] = $bodyHTML;
|
||||
|
||||
echo $this->Bootstrap->modal($modalOptions);
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue