mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
Implemented Tracks and ability to save to the DB. Updated SkyHook to support ArtistSlug.
This commit is contained in:
@@ -9,14 +9,14 @@ module.exports = Marionette.ItemView.extend({
|
||||
|
||||
events : {
|
||||
'click .x-edit' : '_editSeries',
|
||||
'click .x-refresh' : '_refreshSeries'
|
||||
'click .x-refresh' : '_refreshArtist'
|
||||
},
|
||||
|
||||
onRender : function() {
|
||||
CommandController.bindToCommand({
|
||||
element : this.ui.refresh,
|
||||
command : {
|
||||
name : 'refreshSeries',
|
||||
name : 'refreshArtist',
|
||||
seriesId : this.model.get('id')
|
||||
}
|
||||
});
|
||||
@@ -26,9 +26,9 @@ module.exports = Marionette.ItemView.extend({
|
||||
vent.trigger(vent.Commands.EditSeriesCommand, { series : this.model });
|
||||
},
|
||||
|
||||
_refreshSeries : function() {
|
||||
CommandController.Execute('refreshSeries', {
|
||||
name : 'refreshSeries',
|
||||
_refreshArtist : function() {
|
||||
CommandController.Execute('refreshArtist', {
|
||||
name : 'refreshArtist',
|
||||
seriesId : this.model.id
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user