webui: add read/write for all editors (#268)

This commit is contained in:
redPanther
2016-10-10 23:15:50 +02:00
committed by GitHub
parent 37558a983f
commit 102fd611fa
13 changed files with 84 additions and 147 deletions

View File

@@ -68,16 +68,20 @@ $(document).ready( function() {
$(hyperion).one("cmd-config-getschema", function(event) {
parsedConfSchemaJSON = event.response.result;
requestServerConfig();
});
$(hyperion).one("cmd-config-getconfig", function(event) {
parsedConfJSON = event.response.result;
requestServerInfo();
});
$(hyperion).on("error",function(event){
showErrorDialog("error", event.reason);
});
$(hyperion).on("open",function(event){
requestServerConfigSchema();
requestServerInfo();
});
$("#btn_hyperion_reload").on("click", function(){