Set top level owner to top level widget.

Fixes error if read-only expansion runs off the top of the tree, and no owner found.
This commit is contained in:
Nathan Gray
2014-02-19 00:28:38 +00:00
parent 03c5e925c8
commit ac653d6c9a
2 changed files with 2 additions and 5 deletions

View File

@ -428,11 +428,6 @@ var et2_readonlysArrayMgr = et2_arrayMgr.extend(
*/
expandName: function(ident)
{
// this is a temp. workaround to get calendar conflicts working again
if (!this.perspectiveData.owner)
{
return this._super.apply(this, arguments);
}
return this.perspectiveData.owner.getArrayMgr('content').expandName(ident);
}
});