From 0113cd678c77c59a1adc37bf068abbeb00e6b308 Mon Sep 17 00:00:00 2001 From: Klaus Leithoff Date: Mon, 7 Apr 2014 11:51:25 +0000 Subject: [PATCH] if this.et2 is null, skip accessing/setting vacationnotice --- mail/js/app.js | 1 + 1 file changed, 1 insertion(+) diff --git a/mail/js/app.js b/mail/js/app.js index 50185d0eba..6e140d8178 100644 --- a/mail/js/app.js +++ b/mail/js/app.js @@ -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('');