mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
Fixed real problem with building new templates failing after nextmatch widget has been used
This commit is contained in:
parent
89847abae6
commit
115d677113
@ -53,8 +53,6 @@ var et2_dataview_dataProvider = Class.extend(et2_IDataProvider, {
|
|||||||
{
|
{
|
||||||
window.clearTimeout(this._queueFlushTimeout);
|
window.clearTimeout(this._queueFlushTimeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
this._super();
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -318,7 +318,7 @@ var et2_dataview_rowProvider = Class.extend({
|
|||||||
};
|
};
|
||||||
|
|
||||||
// Create the row widget and insert the given widgets into the row
|
// Create the row widget and insert the given widgets into the row
|
||||||
var rowWidget = new et2_dataview_rowWidget(_rootWidget, row[0]);
|
var rowWidget = new et2_dataview_rowWidget(rowTemplate.mgrs, row[0]);
|
||||||
rowWidget.createWidgets(_widgets);
|
rowWidget.createWidgets(_widgets);
|
||||||
|
|
||||||
// Get the set containing all variable attributes
|
// Get the set containing all variable attributes
|
||||||
@ -448,14 +448,15 @@ var et2_dataview_rowProvider = Class.extend({
|
|||||||
|
|
||||||
var et2_dataview_rowWidget = et2_widget.extend(et2_IDOMNode, {
|
var et2_dataview_rowWidget = et2_widget.extend(et2_IDOMNode, {
|
||||||
|
|
||||||
init: function(_parent, _row) {
|
init: function(_mgrs, _row) {
|
||||||
// Call the parent constructor with some dummy attributes
|
// Call the parent constructor with some dummy attributes
|
||||||
this._super(_parent, {"id": "", "type": "rowWidget"});
|
this._super(null, {"id": "", "type": "rowWidget"});
|
||||||
|
|
||||||
// Initialize some variables
|
// Initialize some variables
|
||||||
this._widgets = [];
|
this._widgets = [];
|
||||||
|
|
||||||
// Copy the given DOM node
|
// Copy the given DOM node and the content arrays
|
||||||
|
this._mgrs = _mgrs;
|
||||||
this._row = _row;
|
this._row = _row;
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user