parent
015bbdacc7
commit
a3c6061480
7 changed files with 198 additions and 28 deletions
|
@ -115,15 +115,22 @@
|
|||
welcomeToSignal: i18n('welcomeToSignal'),
|
||||
selectAContact: i18n('selectAContact'),
|
||||
searchForPeopleOrGroups: i18n('searchForPeopleOrGroups'),
|
||||
submitDebugLog: i18n('submitDebugLog')
|
||||
submitDebugLog: i18n('submitDebugLog'),
|
||||
settings: i18n('settings'),
|
||||
},
|
||||
events: {
|
||||
'click': 'closeMenu',
|
||||
'click .hamburger': 'toggleMenu',
|
||||
'click .show-debug-log': 'showDebugLog',
|
||||
'click .settings': 'showSettings',
|
||||
'select .gutter .conversation-list-item': 'openConversation',
|
||||
'input input.search': 'filterContacts'
|
||||
},
|
||||
showSettings: function() {
|
||||
var view = new Whisper.SettingsView().render();
|
||||
view.update();
|
||||
view.$el.insertAfter(this.el);
|
||||
},
|
||||
filterContacts: function(e) {
|
||||
this.searchView.filterContacts(e);
|
||||
var input = this.$('input.search');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue