mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 20:31:31 +02:00
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"))
|
this.innerDiv = $j(document.createElement("div"))
|
||||||
.appendTo(this.div);
|
.appendTo(this.div);
|
||||||
|
|
||||||
this._filters = {
|
|
||||||
record_id: this.options.value.id,
|
|
||||||
appname: this.options.value.app,
|
|
||||||
get_rows: 'historylog::get_rows'
|
|
||||||
};
|
|
||||||
},
|
},
|
||||||
|
|
||||||
doLoadingFinished: function() {
|
doLoadingFinished: function() {
|
||||||
@ -96,6 +90,12 @@ var et2_historylog = et2_valueWidget.extend([et2_IDataProvider],{
|
|||||||
*/
|
*/
|
||||||
finishInit: function() {
|
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
|
// Create the dynheight component which dynamically scales the inner
|
||||||
// container.
|
// container.
|
||||||
this.dynheight = new et2_dynheight(this.egw().window,
|
this.dynheight = new et2_dynheight(this.egw().window,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user