diff --git a/js/api/ConfigAPI.js b/js/api/ConfigAPI.js index 84550de..41f6d78 100644 --- a/js/api/ConfigAPI.js +++ b/js/api/ConfigAPI.js @@ -22,7 +22,8 @@ function ConfigAPI() { }; function save(newSettings,success,fail) { - API.post('config',{data:newSettings},success,fail); + console.log(className,'save',newSettings); + API.post('config',newSettings,success,fail); }; function resetAll(success,fail) { diff --git a/js/settings/FormPanel.js b/js/settings/FormPanel.js index 64420e2..a76557c 100644 --- a/js/settings/FormPanel.js +++ b/js/settings/FormPanel.js @@ -107,7 +107,7 @@ function FormPanel() { }; this.saveSettings = function(newSettings,complete) { - //console.log(" newSettings: ",newSettings); + console.log(" newSettings: ",newSettings); _configAPI.save(newSettings,function(data) { var validation = data.validation; //console.log(" validation: ",validation);