0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-11-22 01:07:56 +01:00

store settings locally on save

This commit is contained in:
peteruithoven 2013-10-21 15:14:00 +02:00
parent 4ec660fd74
commit bc15491bf4

View File

@ -195,7 +195,8 @@ function SettingsWindow() {
} }
this.saveSettings = function(newSettings,complete) { this.saveSettings = function(newSettings,complete) {
if (communicateWithWifibox) { settings = newSettings; // store new settings in global settings
if (communicateWithWifibox) {
$.ajax({ $.ajax({
url: this.wifiboxURL + "/config", url: this.wifiboxURL + "/config",
type: "POST", type: "POST",