Fixed: Add series won't incorrectly mark the series as existing when it fails to add

pull/46/merge
Mark McDowall 11 years ago
parent d494023504
commit d9b9ffe8a2

@ -147,12 +147,11 @@ define(
this.model.set('seasonFolder', seasonFolder);
var self = this;
SeriesCollection.add(this.model);
var promise = this.model.save();
promise.done(function () {
SeriesCollection.add(self.model);
self.close();
icon.removeClass('icon-spin icon-spinner disabled').addClass('icon-search');

Loading…
Cancel
Save