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:
@@ -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>
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user