forked from extern/egroupware
Use jQuery to decode all entities in caption for confirm prompt
This commit is contained in:
parent
fc8a139f23
commit
8c74ba7383
@ -204,7 +204,8 @@ function nm_action(_action, _senders)
|
||||
// let user confirm select-all
|
||||
if (select_all && select_all.checked)
|
||||
{
|
||||
if (!confirm((confirm_msg ? confirm_msg : _action.caption.replace(/^( | | )+/,''))+"\n\n"+select_all.hint)) return;
|
||||
// Use jQuery to decode all entities
|
||||
if (!confirm((confirm_msg ? confirm_msg : jQuery('<span/>').html(_action.caption).text())+"\n\n"+select_all.hint)) return;
|
||||
}
|
||||
var checkboxes = mgr.getActionsByAttr("checkbox", true);
|
||||
var checkboxes_elem = document.getElementById(mgr.etemplate_var_prefix+'[nm][checkboxes]');
|
||||
|
Loading…
Reference in New Issue
Block a user