summaryrefslogtreecommitdiffstats
path: root/app/wifi
diff options
context:
space:
mode:
Diffstat (limited to 'app/wifi')
-rw-r--r--app/wifi/Wifi.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/wifi/Wifi.qml b/app/wifi/Wifi.qml
index dcde6ed..66ee2c2 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -216,6 +216,15 @@ SettingPage {
//showRequestInfo(o.responseText)
console.log(o.responseText)
})
+
+ request(wifiAPIpath + 'connect?network=' + view.currentIndex,
+ function (o) {
+
+ // log the json response
+ //showRequestInfo(o.responseText)
+ console.log(o.responseText)
+ })
+
dialog.visible = false
}
}
@@ -268,3 +277,4 @@ SettingPage {
}
}
}
+