selection refactor caused wrench to show up in topic list for non-admins

This commit is contained in:
Sam 2015-01-31 17:16:08 +11:00
parent 8b95511816
commit f4609fd6ae
1 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ export default Discourse.View.extend(StringBuffer, {
],
actions: {
select: function(){
this.set('controller.selected', this);
this.set('controller.selectedRow', this);
},
toggleBookmark: function(){
@ -24,8 +24,8 @@ export default Discourse.View.extend(StringBuffer, {
},
selected: function(){
return this.get('controller.selected')===this;
}.property('controller.selected'),
return this.get('controller.selectedRow')===this;
}.property('controller.selectedRow'),
unboundClassNames: function(){
var classes = [];