mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
if this.et2 is null, skip accessing/setting vacationnotice
This commit is contained in:
parent
83716092fb
commit
0113cd678c
@ -825,6 +825,7 @@ app.classes.mail = AppJS.extend(
|
||||
//var vacationrange = this.et2.getWidgetById(this.nm_index+'[vacationrange]');
|
||||
//console.log(_data,vacationnotice,vacationrange);
|
||||
//try to set it via set_value and set label
|
||||
if (!this.et2) return;
|
||||
if (_data == null)
|
||||
{
|
||||
this.et2.getWidgetById(this.nm_index+'[vacationnotice]').set_value('');
|
||||
|
Loading…
Reference in New Issue
Block a user