Fix settings update from UI (#1655)

https://github.com/Jackett/Jackett/issues/1654
This commit is contained in:
flightlevel
2017-08-12 11:12:56 +10:00
committed by GitHub
parent 29ecf8a584
commit 0103c48c97

View File

@@ -1090,7 +1090,7 @@ function bindUIButtons() {
basepathoverride: jackett_basepathoverride,
omdbkey: jackett_omdb_key
};
api.updateServerConfig(function (data) {
api.updateServerConfig(jsonObject, function (data) {
if (data !== undefined && data.result == "error") {
doNotify("Error: " + data.error, "danger", "glyphicon glyphicon-alert");
return;