mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-13 17:00:45 +01:00
Fix apply / reload failure
This commit is contained in:
parent
de01faf0df
commit
36fa6e27be
@ -144,13 +144,13 @@ var et2_historylog = et2_valueWidget.extend([et2_IDataProvider],{
|
|||||||
{
|
{
|
||||||
this.fields[key].widget.destroy();
|
this.fields[key].widget.destroy();
|
||||||
}
|
}
|
||||||
this.diff.widget.destroy();
|
if(this.diff) this.diff.widget.destroy();
|
||||||
|
|
||||||
// Free the grid components
|
// Free the grid components
|
||||||
this.dataview.free();
|
if(this.dataview) this.dataview.free();
|
||||||
this.rowProvider.free();
|
if(this.rowProvider) this.rowProvider.free();
|
||||||
this.controller.free();
|
if(this.controller) this.controller.free();
|
||||||
this.dynheight.free();
|
if(this.dynheight) this.dynheight.free();
|
||||||
|
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
},
|
},
|
||||||
|
@ -695,7 +695,7 @@ var et2_link = et2_valueWidget.extend([et2_IDetachedDOM], {
|
|||||||
this.setDOMNode(this.link[0]);
|
this.setDOMNode(this.link[0]);
|
||||||
},
|
},
|
||||||
destroy: function() {
|
destroy: function() {
|
||||||
this.link.unbind();
|
if(this.link) this.link.unbind();
|
||||||
this.link = null;
|
this.link = null;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user