forked from extern/egroupware
fix for r49769 causing edit icon in toolbar opens empty contact, as app.addressbook.et2 was pointing to infolog template
This commit is contained in:
parent
7a4fb44240
commit
6a7c4c47ec
@ -48,6 +48,11 @@ app.classes.addressbook = AppJS.extend(
|
||||
*/
|
||||
et2_ready: function(et2, name)
|
||||
{
|
||||
// r49769 let's CRM view run under currentapp == "addressbook", which causes
|
||||
// app.addressbook.et2_ready called before app.infolog.et2_ready and therefore
|
||||
// app.addressbook.et2 would point to infolog template, if we not stop here
|
||||
if (name.match(/^infolog\./)) return;
|
||||
|
||||
// call parent
|
||||
this._super.apply(this, arguments);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user