Fix error template.index is undefined in timesheet

This commit is contained in:
Hadi Nategh
2020-03-12 15:56:07 +01:00
parent 25455ba8a5
commit cd93c942fa
2 changed files with 2 additions and 2 deletions

View File

@@ -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();