Mercurial > lada > lada-client
changeset 1201:26019a2273f6
Display of probe forms failed due to getEl() returning undefined
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 28 Sep 2016 15:22:33 +0200 |
parents | e9efd2edb50f |
children | 8d2f9ab10043 |
files | app/view/widget/base/FieldSet.js |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/widget/base/FieldSet.js Fri Sep 23 17:20:22 2016 +0200 +++ b/app/view/widget/base/FieldSet.js Wed Sep 28 15:22:33 2016 +0200 @@ -73,6 +73,8 @@ clearMessages: function() { this.setTitle(this.plainTitle); - this.getEl().dom.style['border-color'] = this.origColor; + if (this.getEl()) { + this.getEl().dom.style['border-color'] = this.origColor; + } } });