Fix for issue #261
When converse is first initialized this.model.get('closed') is undefined, at least with some configurations. This patch initializes the attribute with !show_controlbox_by_default if it is undefined. Update CHANGES.md fix make check Update CHANGES.md
This commit is contained in:
parent
174f41f298
commit
aec966e36a
@ -2555,6 +2555,9 @@
|
||||
if (this.model.get('connected')) {
|
||||
this.initRoster();
|
||||
}
|
||||
if (typeof this.model.get('closed')==='undefined') {
|
||||
this.model.set('closed', !converse.show_controlbox_by_default);
|
||||
}
|
||||
if (!this.model.get('closed')) {
|
||||
this.show();
|
||||
} else {
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
## 0.10.2 (Unreleased)
|
||||
|
||||
- #261 show_controlbox_by_default config not working [diditopher]
|
||||
- #573 xgettext build error: `'javascript' unknown`
|
||||
|
||||
## 0.10.1 (2016-02-06)
|
||||
|
Loading…
Reference in New Issue
Block a user