mirror of
https://github.com/Sonarr/Sonarr
synced 2024-12-25 17:27:18 +00:00
Damnit IE, you suck
Fixed: IE trying to save/open json result in settings Empty allowed release group can be saved
This commit is contained in:
parent
6969a5d789
commit
5017c16848
2 changed files with 3 additions and 2 deletions
|
@ -45,8 +45,8 @@ namespace NzbDrone.Web.Models
|
||||||
return new JsonResult
|
return new JsonResult
|
||||||
{
|
{
|
||||||
Data = new JsonNotificationResult { NotificationType = notificationType, Title = title, Text = text },
|
Data = new JsonNotificationResult { NotificationType = notificationType, Title = title, Text = text },
|
||||||
ContentType = null,
|
ContentType = "application/json; charset=UTF-8",
|
||||||
ContentEncoding = null,
|
ContentEncoding = System.Text.Encoding.UTF8,
|
||||||
JsonRequestBehavior = JsonRequestBehavior.AllowGet
|
JsonRequestBehavior = JsonRequestBehavior.AllowGet
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,6 +18,7 @@ namespace NzbDrone.Web.Models
|
||||||
|
|
||||||
[DisplayName("Specified Release Groups")]
|
[DisplayName("Specified Release Groups")]
|
||||||
[Description("Comma separated list of release groups to download episodes (leave empty for all groups)")]
|
[Description("Comma separated list of release groups to download episodes (leave empty for all groups)")]
|
||||||
|
[DisplayFormat(ConvertEmptyStringToNull = false)]
|
||||||
public string AllowedReleaseGroups { get; set; }
|
public string AllowedReleaseGroups { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue