diff --git a/www/js/SettingsWindow.js b/www/js/SettingsWindow.js index 6dfd53c..846ca07 100644 --- a/www/js/SettingsWindow.js +++ b/www/js/SettingsWindow.js @@ -195,7 +195,8 @@ function SettingsWindow() { } this.saveSettings = function(newSettings,complete) { - if (communicateWithWifibox) { + settings = newSettings; // store new settings in global settings + if (communicateWithWifibox) { $.ajax({ url: this.wifiboxURL + "/config", type: "POST",