mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2025-01-06 02:23:49 +01:00
changed {data:newSettings} to newSettings
This commit is contained in:
parent
7f4965400c
commit
bbed8e12b8
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user