store settings locally on save

This commit is contained in:
peteruithoven 2013-10-21 15:14:00 +02:00
parent 4ec660fd74
commit bc15491bf4
1 changed files with 2 additions and 1 deletions

View File

@ -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",