forked from extern/egroupware
Etemplate - avoid JS errors if unloading a nextmatch that didn't get properly initialized.
This can happen if the nm is set disabled via server-side modification
This commit is contained in:
parent
a1251b528f
commit
ca76e377cd
@ -233,8 +233,14 @@ var et2_nextmatch = (function(){ "use strict"; return et2_DOMWidget.extend([et2_
|
||||
|
||||
// Free the grid components
|
||||
this.dataview.free();
|
||||
if(this.rowProvider)
|
||||
{
|
||||
this.rowProvider.free();
|
||||
}
|
||||
if(this.controller)
|
||||
{
|
||||
this.controller.free();
|
||||
}
|
||||
this.dynheight.free();
|
||||
|
||||
this._super.apply(this, arguments);
|
||||
|
Loading…
Reference in New Issue
Block a user