mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
overview and series title in series list is now click-able,
use backbone navigation to bring up episode page instead of page reload.
This commit is contained in:
parent
9a42e305ad
commit
662ad28cc6
6 changed files with 100 additions and 69 deletions
|
@ -18,7 +18,8 @@ define([
|
|||
|
||||
events: {
|
||||
'click .x-edit' : 'editSeries',
|
||||
'click .x-remove': 'removeSeries'
|
||||
'click .x-remove': 'removeSeries',
|
||||
'click a' : 'showEpisodeList'
|
||||
},
|
||||
|
||||
initialize: function (options) {
|
||||
|
@ -38,6 +39,12 @@ define([
|
|||
NzbDrone.vent.trigger(NzbDrone.Events.OpenModalDialog, {
|
||||
view: view
|
||||
});
|
||||
},
|
||||
|
||||
showEpisodeList: function (e) {
|
||||
e.preventDefault();
|
||||
NzbDrone.Router.navigate('/series/details/' + this.model.get('id'), { trigger: true});
|
||||
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue