1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-03-27 17:54:34 -04:00

Patch/onedr0p updates (#998)

* few small things

* update var names

* Validate Root Folder, Minimum Avability and ProfileId on List import.
This commit is contained in:
Devin Buhl
2017-03-03 21:32:52 -05:00
committed by GitHub
parent f7bc889723
commit aab425ee5b
7 changed files with 109 additions and 99 deletions

View File

@@ -89,7 +89,15 @@
<label class="col-sm-3 control-label">Folder</label>
<div class="col-sm-5">
{{> RootFolderSelectionPartial rootFolders}}
<select class="col-md-4 form-control x-root-folder" name="RootFolderPath">
{{#if rootFolders}}
{{#each rootFolders}}
<option value="{{id}}">{{path}}</option>
{{/each}}
{{else}}
<option value="">Select Path</option>
{{/if}}
</select>
</div>
</div>

View File

@@ -103,7 +103,7 @@ module.exports = Marionette.Layout.extend({
icon : 'icon-sonarr-search',
callback : this._searchMissing,
ownerContext : this,
className : 'x-search-missing'
className : 'x-search-cutoff'
},
]
};
@@ -182,6 +182,11 @@ module.exports = Marionette.Layout.extend({
name : 'moviesSearch'
}
});
CommandController.bindToCommand({
element : this.$('.x-search-cutoff'),
command : { name : 'missingMoviesSearch' }
});
},
_setFilter : function(buttonContext) {