Add id attr to key change advisory elements

The id attribute is needed to ensure that message elements are inserted
in the correct place in the DOM
This commit is contained in:
lilia 2017-01-17 14:39:51 -08:00
parent 5be5f985fc
commit 260f50c104

View file

@ -79,6 +79,9 @@
tagName: 'li',
className: 'keychange',
templateName: 'keychange',
id: function() {
return this.model.id;
},
initialize: function() {
this.conversation = this.model.getModelForKeyChange();
this.listenTo(this.conversation, 'change', this.render);