mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Webui save - fix white space writing (#364)
* implement config save over http post instead of json * remove json set config finish config write thrugh http post * remove debug code and add failure messages * fix save issue with white spaces
This commit is contained in:
@@ -229,7 +229,7 @@ function requestWriteConfig(config)
|
||||
complete_config[i] = val;
|
||||
});
|
||||
|
||||
var config_str = encode_utf8(JSON.stringify(complete_config));
|
||||
var config_str = escape(encode_utf8(JSON.stringify(complete_config)));
|
||||
|
||||
$.post( "/cgi/cfg_set", { cfg: config_str })
|
||||
.done(function( data ) {
|
||||
|
Reference in New Issue
Block a user