mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +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) {
|
||||
// call parent
|
||||
_super.prototype.et2_ready.call(this, et2, name);
|
||||
if (typeof et2.templates['timesheet.index'] != "undefined") {
|
||||
if (name == 'timesheet.index') {
|
||||
this.filter_change();
|
||||
this.filter2_change();
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ class TimesheetApp extends EgwApp
|
||||
// call parent
|
||||
super.et2_ready(et2, name);
|
||||
|
||||
if (typeof et2.templates['timesheet.index'] != "undefined")
|
||||
if (name == 'timesheet.index')
|
||||
{
|
||||
this.filter_change();
|
||||
this.filter2_change();
|
||||
|
Loading…
Reference in New Issue
Block a user