mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-24 06:49:16 +01:00
Allow action to confirm only on multiple rows selected, but let single rows proceed
This commit is contained in:
parent
6792b9831c
commit
e493255cc6
@ -506,7 +506,7 @@ egwAction.prototype.execute = function(_senders, _target)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// check if actions needs to be confirmed first
|
// check if actions needs to be confirmed first
|
||||||
if (this.data && this.data.confirm && this.onExecute.fcnt != window.nm_action &&
|
if (this.data && (this.data.confirm || this.data.confirm_multiple) && this.onExecute.fcnt != window.nm_action &&
|
||||||
typeof et2_dialog != 'undefined') // let old eTemplate run it's own confirmation from nextmatch_action.js
|
typeof et2_dialog != 'undefined') // let old eTemplate run it's own confirmation from nextmatch_action.js
|
||||||
{
|
{
|
||||||
var msg = this.data.confirm;
|
var msg = this.data.confirm;
|
||||||
|
Loading…
Reference in New Issue
Block a user