0010966 execute action after confirmation
This commit is contained in:
parent
7e1e65cb37
commit
bd4dfaf36c
@ -42,6 +42,7 @@ $aLang = [
|
||||
'D3_DATAWIZARD_EXPORT_FORMAT_JSON' => 'JSON-Format',
|
||||
|
||||
'D3_DATAWIZARD_ACTION_SUBMIT' => 'Aktion starten',
|
||||
'D3_DATAWIZARD_ACTION_SUBMIT_CONFIRM' => 'Soll die Aktion gestartet werden?',
|
||||
|
||||
'D3_DATAWIZARD_DEBUG' => 'Debug: %1$s',
|
||||
|
||||
|
@ -42,6 +42,7 @@ $aLang = [
|
||||
'D3_DATAWIZARD_EXPORT_FORMAT_JSON' => 'JSON format',
|
||||
|
||||
'D3_DATAWIZARD_ACTION_SUBMIT' => 'run action',
|
||||
'D3_DATAWIZARD_ACTION_SUBMIT_CONFIRM' => 'Should the action be executed?',
|
||||
|
||||
'D3_DATAWIZARD_DEBUG' => 'Debug: %1$s',
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[{block name="submitElements"}]
|
||||
<div class="btn-group">
|
||||
<button type="button" class="btn btn-primary" onclick="startTask('[{$id}]')">
|
||||
<button type="button" class="btn btn-primary" onclick="if (confirm('[{oxmultilang ident="D3_DATAWIZARD_ACTION_SUBMIT_CONFIRM"}]') === true) {startTask('[{$id}]')}">
|
||||
<i class="fas fa-fw fa-magic"></i>
|
||||
[{oxmultilang ident=$item->getButtonText()}]
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user