mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 18:57:39 -07:00
Toggle episode monitored status from the table
This commit is contained in:
parent
966b9d62b7
commit
3aa0507912
6 changed files with 52 additions and 14 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue