Toggle episode monitored status from the table

This commit is contained in:
Mark McDowall 2013-07-09 08:41:42 -07:00
commit 3aa0507912
6 changed files with 52 additions and 14 deletions

View file

@ -21,11 +21,8 @@ define(
this.model.save();
},
render: function () {
this.$el.empty();
this.$el.html('<i />');
var name = this.column.get('name');
@ -36,6 +33,13 @@ define(
else {
this.$('i').addClass(this.column.get('falseClass'));
}
var tooltip = this.column.get('tooltip');
if (tooltip) {
this.$('i').attr('title', tooltip);
}
return this;
}
});