mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-22 22:14:44 -04:00
added routes for add series.
This commit is contained in:
@@ -78,8 +78,13 @@ NzbDrone.AddSeries.RootDirView = Backbone.Marionette.Layout.extend({
|
||||
Path: this.ui.pathInput.val()
|
||||
});
|
||||
|
||||
this.collection.create(newDir, { wait: true });
|
||||
this.collection.fetch();
|
||||
var self = this;
|
||||
|
||||
this.collection.create(newDir, {
|
||||
wait: true, success: function () {
|
||||
self.collection.fetch();
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
search: function (context) {
|
||||
|
||||
Reference in New Issue
Block a user