mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-05 05:29:13 +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
|
// call parent
|
||||||
var state = this._super.apply(this, arguments);
|
var state = this._super.apply(this, arguments);
|
||||||
var nm = {};
|
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');
|
var content = this.et2.getArrayMgr('content');
|
||||||
nm = content? content.data.nm: {};
|
nm = content? content.data.nm: {};
|
||||||
|
Loading…
Reference in New Issue
Block a user