fix typo that prevented totracker actions, when no rights for infolog

This commit is contained in:
Klaus Leithoff 2014-05-19 12:29:26 +00:00
parent 9602d061ad
commit 88488caa6e

View File

@ -2134,12 +2134,12 @@ app.classes.mail = AppJS.extend(
}
else
{
var app_registry = egw.link_get_registry('infolog');//this.appname);
var app_registry = egw.link_get_registry('tracker');//this.appname);
}
//console.log(app_registry);
if (typeof app_registry['edit'] != 'undefined' && typeof app_registry['edit_popup'] != 'undefined' )
if (typeof app_registry['add'] != 'undefined' && typeof app_registry['add_popup'] != 'undefined' )
{
var w_h =app_registry['edit_popup'].split('x');
var w_h =app_registry['add_popup'].split('x');
}
}
}