mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
Avoid errors in refresh if most recently opened etemplate gets closed before refresh.
This commit is contained in:
parent
7ccca9f4c6
commit
9e1625c983
@ -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