From bc15491bf451245843991e9d24f1e844cdf23f05 Mon Sep 17 00:00:00 2001 From: peteruithoven Date: Mon, 21 Oct 2013 15:14:00 +0200 Subject: [PATCH] store settings locally on save --- www/js/SettingsWindow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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",