Really close conversation windows
Only the inbox should hide when closed.
This commit is contained in:
parent
5d3a2a4cc8
commit
a5e80e8a5a
1 changed files with 7 additions and 3 deletions
|
@ -25,11 +25,15 @@
|
||||||
this.render();
|
this.render();
|
||||||
},
|
},
|
||||||
events: {
|
events: {
|
||||||
'click .close': 'hide',
|
'click .close': 'close',
|
||||||
'click .minimize': 'minimize'
|
'click .minimize': 'minimize'
|
||||||
},
|
},
|
||||||
hide: function() {
|
close: function() {
|
||||||
this.appWindow.hide();
|
if (this.appWindow.id === 'inbox') {
|
||||||
|
this.appWindow.hide();
|
||||||
|
} else {
|
||||||
|
this.appWindow.close();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
minimize: function() {
|
minimize: function() {
|
||||||
this.appWindow.minimize();
|
this.appWindow.minimize();
|
||||||
|
|
Loading…
Reference in a new issue