mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
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();
|
||||
this.rowProvider.free();
|
||||
this.controller.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