mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-28 19:03:14 +01:00
Fix error template.index is undefined in timesheet
This commit is contained in:
parent
25455ba8a5
commit
cd93c942fa
@ -53,7 +53,7 @@ var TimesheetApp = /** @class */ (function (_super) {
|
|||||||
TimesheetApp.prototype.et2_ready = function (et2, name) {
|
TimesheetApp.prototype.et2_ready = function (et2, name) {
|
||||||
// call parent
|
// call parent
|
||||||
_super.prototype.et2_ready.call(this, et2, name);
|
_super.prototype.et2_ready.call(this, et2, name);
|
||||||
if (typeof et2.templates['timesheet.index'] != "undefined") {
|
if (name == 'timesheet.index') {
|
||||||
this.filter_change();
|
this.filter_change();
|
||||||
this.filter2_change();
|
this.filter2_change();
|
||||||
}
|
}
|
||||||
|
@ -41,7 +41,7 @@ class TimesheetApp extends EgwApp
|
|||||||
// call parent
|
// call parent
|
||||||
super.et2_ready(et2, name);
|
super.et2_ready(et2, name);
|
||||||
|
|
||||||
if (typeof et2.templates['timesheet.index'] != "undefined")
|
if (name == 'timesheet.index')
|
||||||
{
|
{
|
||||||
this.filter_change();
|
this.filter_change();
|
||||||
this.filter2_change();
|
this.filter2_change();
|
||||||
|
Loading…
Reference in New Issue
Block a user