Mercurial > lada > lada-client
changeset 1193:3e078af76b58
Do not try to display an undefined title.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 08 Sep 2016 10:06:07 +0200 |
parents | 62f374ea7ab7 |
children | c63acd44f8ca |
files | app/view/widget/base/FieldSet.js |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/app/view/widget/base/FieldSet.js Wed Sep 07 17:16:26 2016 +0200 +++ b/app/view/widget/base/FieldSet.js Thu Sep 08 10:06:07 2016 +0200 @@ -29,7 +29,10 @@ this.warningText += '\n'; } this.warningText += warningText; - this.plainTitle = this.title; + + if (this.title) { + this.plainTitle = this.title; + } this.origColor = this.getEl().dom.style['border-color']; var imgId = Ext.id(); if (error) {