store settings locally on save
This commit is contained in:
parent
4ec660fd74
commit
bc15491bf4
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue