forked from extern/egroupware
Defer setting filter until later, fixes problem with new entries not having an ID
This commit is contained in:
parent
0a076525b8
commit
ed9985197a
@ -48,12 +48,6 @@ var et2_historylog = et2_valueWidget.extend([et2_IDataProvider],{
|
||||
|
||||
this.innerDiv = $j(document.createElement("div"))
|
||||
.appendTo(this.div);
|
||||
|
||||
this._filters = {
|
||||
record_id: this.options.value.id,
|
||||
appname: this.options.value.app,
|
||||
get_rows: 'historylog::get_rows'
|
||||
};
|
||||
},
|
||||
|
||||
doLoadingFinished: function() {
|
||||
@ -96,6 +90,12 @@ var et2_historylog = et2_valueWidget.extend([et2_IDataProvider],{
|
||||
*/
|
||||
finishInit: function() {
|
||||
|
||||
this._filters = {
|
||||
record_id: this.options.value.id,
|
||||
appname: this.options.value.app,
|
||||
get_rows: 'historylog::get_rows'
|
||||
};
|
||||
|
||||
// Create the dynheight component which dynamically scales the inner
|
||||
// container.
|
||||
this.dynheight = new et2_dynheight(this.egw().window,
|
||||
|
Loading…
Reference in New Issue
Block a user