mirror of
https://github.com/Doodle3D/doodle3d-client.git
synced 2024-11-22 01:07:56 +01:00
Seperate CGI-bin signin request
This commit is contained in:
parent
cfff8b498f
commit
9ead4a9416
@ -142,6 +142,7 @@ function SettingsWindow() {
|
|||||||
self.hideSettings(function() {
|
self.hideSettings(function() {
|
||||||
enableButton(self.btnOK,self.submitwindow);
|
enableButton(self.btnOK,self.submitwindow);
|
||||||
});
|
});
|
||||||
|
self.signin();
|
||||||
} else {
|
} else {
|
||||||
enableButton(self.btnOK,self.submitwindow);
|
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
|
* Networks ui
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user