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