Mercurial > lada > lada-client
diff app/view/widget/base/FieldSet.js @ 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 | 47991f0d7837 |
children | c8827424723b |
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; + } } });