mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-10-05 17:52:03 +02: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]');
|
//var vacationrange = this.et2.getWidgetById(this.nm_index+'[vacationrange]');
|
||||||
//console.log(_data,vacationnotice,vacationrange);
|
//console.log(_data,vacationnotice,vacationrange);
|
||||||
//try to set it via set_value and set label
|
//try to set it via set_value and set label
|
||||||
|
if (!this.et2) return;
|
||||||
if (_data == null)
|
if (_data == null)
|
||||||
{
|
{
|
||||||
this.et2.getWidgetById(this.nm_index+'[vacationnotice]').set_value('');
|
this.et2.getWidgetById(this.nm_index+'[vacationnotice]').set_value('');
|
||||||
|
Loading…
Reference in New Issue
Block a user