mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 14:03:29 -07:00
fully working add series
This commit is contained in:
parent
57ccc51393
commit
96810c489c
21 changed files with 295 additions and 314 deletions
|
@ -4,6 +4,7 @@
|
|||
</div>
|
||||
<div class="modal-body">
|
||||
<p>Are you sure you want to delete '{{title}}'?</p>
|
||||
<p>{{path}}</p>
|
||||
|
||||
<div class="series-delete-files">
|
||||
<label class="checkbox">
|
||||
|
@ -15,4 +16,4 @@
|
|||
<div class="modal-footer">
|
||||
<button class="btn" data-dismiss="modal">cancel</button>
|
||||
<button class="btn btn-danger x-confirm-delete">delete</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@ define(
|
|||
'backbone',
|
||||
'Series/SeriesModel'
|
||||
], function (Backbone, SeriesModel) {
|
||||
var collection = Backbone.Collection.extend({
|
||||
var Collection = Backbone.Collection.extend({
|
||||
url : window.ApiRoot + '/series',
|
||||
model: SeriesModel,
|
||||
|
||||
|
@ -18,5 +18,8 @@ define(
|
|||
}
|
||||
});
|
||||
|
||||
return new collection();
|
||||
var collection = new Collection();
|
||||
collection.fetch();
|
||||
|
||||
return collection;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue