Mercurial > lada > lada-client
comparison app/view/widget/base/FieldSet.js @ 1196:47991f0d7837
Clear messages regardless of whether title is an empty string.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Tue, 20 Sep 2016 18:14:38 +0200 |
parents | 3e078af76b58 |
children | 26019a2273f6 |
comparison
equal
deleted
inserted
replaced
1195:39d98891881c | 1196:47991f0d7837 |
---|---|
70 return; | 70 return; |
71 } | 71 } |
72 }, | 72 }, |
73 | 73 |
74 clearMessages: function() { | 74 clearMessages: function() { |
75 if (this.plainTitle !== '') { | 75 this.setTitle(this.plainTitle); |
76 this.setTitle(this.plainTitle); | 76 this.getEl().dom.style['border-color'] = this.origColor; |
77 this.getEl().dom.style['border-color'] = this.origColor; | |
78 } | |
79 } | 77 } |
80 }); | 78 }); |