AutoComplete and file browser will show files when appropriate

Fixed: File browser for Custom Script shows files
Closes #1084
This commit is contained in:
Mark McDowall
2016-01-27 19:23:22 -08:00
parent 9f523bb167
commit 56da824e98
8 changed files with 17 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ namespace NzbDrone.Core.Notifications.CustomScript
{
private static readonly CustomScriptSettingsValidator Validator = new CustomScriptSettingsValidator();
[FieldDefinition(0, Label = "Path", Type = FieldType.Path)]
[FieldDefinition(0, Label = "Path", Type = FieldType.FilePath)]
public string Path { get; set; }
[FieldDefinition(1, Label = "Arguments", HelpText = "Arguments to pass to the script")]