mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-18 12:41:10 +01:00
Avoid errors in refresh if most recently opened etemplate gets closed before refresh.
This commit is contained in:
parent
0024ca1348
commit
06608e852c
@ -101,7 +101,7 @@ app.classes.infolog = AppJS.extend(
|
||||
}
|
||||
}
|
||||
// Refresh handler for Addressbook CRM view
|
||||
if (_app == 'infolog' && this.et2._inst.app == 'addressbook' && this.et2._inst.name == 'infolog.index')
|
||||
if (_app == 'infolog' && this.et2.getInstanceManager() && this.et2.getInstanceManager().app == 'addressbook' && this.et2.getInstanceManager().name == 'infolog.index')
|
||||
{
|
||||
this.et2._inst.refresh(_msg, _app, _id, _type);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user