mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
Do not let to address a possible freed object
This commit is contained in:
parent
b582716dff
commit
57a3c318ea
@ -168,7 +168,9 @@ app.classes.infolog = AppJS.extend(
|
||||
// call parent
|
||||
var state = this._super.apply(this, arguments);
|
||||
var nm = {};
|
||||
if(this.et2)
|
||||
// Prevents to get access to freed et2 object
|
||||
// TODO: needs more investigation to see why this.et2 sometimes gets free
|
||||
if(this.et2 && Object.keys(this.et2).length >1)
|
||||
{
|
||||
var content = this.et2.getArrayMgr('content');
|
||||
nm = content? content.data.nm: {};
|
||||
|
Loading…
Reference in New Issue
Block a user