fixed posters for add series search

This commit is contained in:
kay.one 2013-05-25 18:19:03 -07:00
commit 2a89897a99
6 changed files with 40 additions and 9 deletions

View file

@ -5,7 +5,9 @@ define(['app', 'Series/SeriesModel'], function () {
model: NzbDrone.Series.SeriesModel,
parse: function (response) {
response.id = undefined;
if (response) {
response.id = undefined;
}
return response;
}
});

View file

@ -18,6 +18,10 @@ define([
'click .x-add': 'addSeries'
},
initialize: function () {
this.model.set('isExisting', true);
},
addSeries: function () {
var icon = this.ui.addButton.find('icon');
icon.removeClass('icon-plus').addClass('icon-spin icon-spinner disabled');

View file

@ -1,5 +1,8 @@
<div class="unmapped-folder-view">
<div class="row">
<div class="x-folder-name-match-results folder-name-matches"/>
</div>
<div class="row" style="visibility: collapse;">
<div class="folder-header span11">
<div class="input-prepend">
<i class="add-on icon-search"></i>
@ -11,7 +14,8 @@
</div>
</div>
</div>
<div class="row">
<div class="x-folder-name-match-results folder-name-matches"/>
<div class="row text-center">
load more
</div>
</div>

View file

@ -2,7 +2,7 @@
<div class="row">
<div class="span2">
<a href="{{traktUrl}}" target="_blank">
<img class="series-poster img-polaroid" src="{{poster}}">
<img class="series-poster img-polaroid" src="{{remotePoster}}">
</a>
</div>
<div class="span9">