diff --git a/js_src/SettingsWindow.js b/js_src/SettingsWindow.js index a605767..96e3ad6 100644 --- a/js_src/SettingsWindow.js +++ b/js_src/SettingsWindow.js @@ -142,6 +142,7 @@ function SettingsWindow() { self.hideSettings(function() { enableButton(self.btnOK,self.submitwindow); }); + self.signin(); } else { enableButton(self.btnOK,self.submitwindow); } @@ -331,6 +332,20 @@ function SettingsWindow() { } } + this.signin = function() { + $.ajax({ + url: self.wifiboxCGIBinURL + "/network/signin", + type: "GET", + dataType: 'json', + timeout: self.timeoutTime, + success: function(response){ + console.log("Settings:signin response: ",response); + } + }).fail(function() { + console.log("Settings:signin: failed"); + }); + } + /* * Networks ui */