get delete confirmation working again, after change to global actionManager

This commit is contained in:
Ralf Becker 2011-06-03 08:55:18 +00:00
parent 17fa23843c
commit 8d7d6e1480

View File

@ -17,7 +17,7 @@
function confirm_delete(_action, _senders) function confirm_delete(_action, _senders)
{ {
var children = false; var children = false;
var child_button = document.getElementById(egw_actionManager.etemplate_var_prefix+'[delete_sub]'); var child_button = document.getElementById(egw_globalObjectManager.getObjectById('infolog.index.rows').etemplate_var_prefix+'[delete_sub]');
if(child_button) { if(child_button) {
for(var i = 0; i < _senders.length; i++) { for(var i = 0; i < _senders.length; i++) {
if ($(_senders[i].iface.node).hasClass('rowHasSubs')) { if ($(_senders[i].iface.node).hasClass('rowHasSubs')) {