mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
27fc51da48
added empty modal for episode info
17 lines
505 B
JavaScript
17 lines
505 B
JavaScript
"use strict";
|
|
NzbDrone.Series.Index.Table.Row = Backgrid.Row.extend({
|
|
events: {
|
|
'click .x-edit' : 'editSeries',
|
|
'click .x-remove': 'removeSeries'
|
|
},
|
|
|
|
editSeries: function () {
|
|
var view = new NzbDrone.Series.Edit.EditSeriesView({ model: this.model});
|
|
NzbDrone.modalRegion.show(view);
|
|
},
|
|
|
|
removeSeries: function () {
|
|
var view = new NzbDrone.Series.Delete.DeleteSeriesView({ model: this.model });
|
|
NzbDrone.modalRegion.show(view);
|
|
}
|
|
}); |