Remove unusued event handlers
The conversation view now handles displaying and listening to the back button. // FREEBIE
This commit is contained in:
parent
1e3e730d88
commit
198cc70cef
3 changed files with 1 additions and 19 deletions
|
@ -19,12 +19,6 @@
|
|||
},
|
||||
render_attributes: {
|
||||
members: i18n('members')
|
||||
},
|
||||
events: {
|
||||
'click .back': 'goBack',
|
||||
},
|
||||
goBack: function() {
|
||||
this.trigger('back');
|
||||
},
|
||||
}
|
||||
});
|
||||
})();
|
||||
|
|
|
@ -8,12 +8,6 @@
|
|||
Whisper.KeyVerificationView = Whisper.View.extend({
|
||||
className: 'key-verification',
|
||||
templateName: 'key_verification',
|
||||
events: {
|
||||
'click .back': 'goBack'
|
||||
},
|
||||
goBack: function() {
|
||||
this.trigger('back');
|
||||
},
|
||||
splitKey: function(key) {
|
||||
// key is an array buffer
|
||||
var bytes = new Uint8Array(key);
|
||||
|
|
|
@ -37,12 +37,6 @@
|
|||
|
||||
this.listenTo(this.model, 'change', this.render);
|
||||
},
|
||||
events: {
|
||||
'click .back': 'goBack'
|
||||
},
|
||||
goBack: function() {
|
||||
this.trigger('back');
|
||||
},
|
||||
contacts: function() {
|
||||
if (this.model.isIncoming()) {
|
||||
var number = this.model.get('source');
|
||||
|
|
Loading…
Reference in a new issue