mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 17:08:34 +01:00
if no confirm_msg given, use caption instead for select_all confirmation
This commit is contained in:
parent
4d2cf32f9a
commit
c9fbcc329e
@ -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]');
|
||||
|
Loading…
Reference in New Issue
Block a user