diff --git a/etemplate/js/nextmatch_action.js b/etemplate/js/nextmatch_action.js index 5a3132e6a1..97d5a7da1e 100644 --- a/etemplate/js/nextmatch_action.js +++ b/etemplate/js/nextmatch_action.js @@ -155,7 +155,7 @@ function nm_action(_action, _senders) // let user confirm select-all if (select_all && select_all.checked) { - if (!confirm(confirm_msg+"\n\n"+select_all.hint)) return; + if (!confirm((confirm_msg ? confirm_msg : _action.caption)+"\n\n"+select_all.hint)) return; } var checkboxes = egw_actionManager.getActionsByAttr("checkbox", true); var checkboxes_elem = document.getElementById(egw_actionManager.etemplate_var_prefix+'[nm][checkboxes]');