make year nullable, and rmember the profileid

pull/2/head
Devin Buhl 8 years ago
parent 8274cc016f
commit 8a0820ad1e

@ -15,7 +15,7 @@ namespace NzbDrone.Core.NetImport.Trakt
public class Movie
{
public string title { get; set; }
public int year { get; set; }
public int? year { get; set; }
public Ids ids { get; set; }
}

@ -25,7 +25,7 @@ var view = Marionette.ItemView.extend({
events : {
'click .x-back' : '_back',
'click .x-captcha-refresh' : '_onRefreshCaptcha',
'change .x-root-folder' : '_rootFolderChanged',
'change .x-root-folder' : '_rootFolderChanged',
},
_deleteView : DeleteView,

@ -66,7 +66,11 @@
<label class="col-sm-3 control-label">Quality Profile</label>
<div class="col-sm-5">
{{> ProfileSelectionPartial profiles}}
<select class="form-control x-profile" id="inputProfile" name="profileId">
{{#each profiles}}
<option value="{{id}}">{{name}}</option>
{{/each}}
</select>
</div>
</div>

Loading…
Cancel
Save