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:
parent
5be5f985fc
commit
260f50c104
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue