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();
|
||||
},
|
||||
events: {
|
||||
'click .close': 'hide',
|
||||
'click .close': 'close',
|
||||
'click .minimize': 'minimize'
|
||||
},
|
||||
hide: function() {
|
||||
this.appWindow.hide();
|
||||
close: function() {
|
||||
if (this.appWindow.id === 'inbox') {
|
||||
this.appWindow.hide();
|
||||
} else {
|
||||
this.appWindow.close();
|
||||
}
|
||||
},
|
||||
minimize: function() {
|
||||
this.appWindow.minimize();
|
||||
|
|
Loading…
Reference in a new issue