let old eTemplate run its own confirmation from nextmatch_action.js

This commit is contained in:
Ralf Becker 2013-08-26 07:36:51 +00:00
parent 6fbfb6c784
commit 0984527661

View File

@ -509,7 +509,8 @@ egwAction.prototype.execute = function(_senders, _target)
}
// 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.onExecute.fcnt != window.nm_action &&
typeof et2_dialog != 'undefined') // let old eTemplate run it's own confirmation from nextmatch_action.js
{
var self = this;
et2_dialog.show_dialog(function(_button)