Fixed problem with building new templates failing after nextmatch-widget has been used

This commit is contained in:
Andreas Stöckel 2011-09-08 18:53:08 +00:00
parent 37dc6545cc
commit ea346ce19c

View File

@ -53,6 +53,8 @@ var et2_dataview_dataProvider = Class.extend(et2_IDataProvider, {
{
window.clearTimeout(this._queueFlushTimeout);
}
this._super();
},
/**
@ -66,8 +68,6 @@ var et2_dataview_dataProvider = Class.extend(et2_IDataProvider, {
// Make sure _idx is a int
_idx = parseInt(_idx);
et2_debug("log", "--> registering row", _idx);
if (typeof this._registeredRows[_idx] != "undefined")
{
et2_debug("warn", "Overriding data row for index " + _idx);
@ -92,8 +92,6 @@ var et2_dataview_dataProvider = Class.extend(et2_IDataProvider, {
// Make sure _idx is a int
_idx = parseInt(_idx);
et2_debug("log", "<-- unregistering row", _idx);
delete(this._registeredRows[_idx]);
},