summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-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 2215de9..52cd44d 100644
--- a/app/wifi/Wifi.qml
+++ b/app/wifi/Wifi.qml
@@ -223,6 +223,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
}
}
@@ -275,3 +284,4 @@ SettingPage {
}
}
}
+