0
0
mirror of https://github.com/Doodle3D/doodle3d-client.git synced 2024-12-22 13:13:48 +01:00

Seperate CGI-bin signin request

This commit is contained in:
peteruithoven 2013-10-28 13:50:08 +01:00
parent cfff8b498f
commit 9ead4a9416

View File

@ -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
*/