Add checkbox to force connect wifi

revert-dabc3590
ruwanliyanage 5 years ago
parent 37016f71d6
commit 1b9bc59b2b

@ -167,6 +167,7 @@ var androidOperationModule = function () {
payload = {
"wifiSSID": operationPayload["ssid"],
"wifiPassword": operationPayload["password"],
"wifiForceConnectEnabled":operationPayload["forceConnectEnabled"],
"wifiType": operationPayload["type"],
"wifiEAP": operationPayload["eap"],
"wifiPhase2": operationPayload["phase2"],
@ -440,6 +441,7 @@ var androidOperationModule = function () {
"ssid": operationData["wifiSSID"],
"type": operationData["wifiType"],
"password": operationData["wifiPassword"],
"forceConnectEnabled": operationData["wifiForceConnectEnabled"],
"eap": operationData["wifiEAP"],
"phase2": operationData["wifiPhase2"],
"provisioning": operationData["wifiProvisioning"],

@ -1225,6 +1225,17 @@
<input id="wifi-password" type="password" class="form-control operationDataKeys"
data-key="wifiPassword" maxlength="100"/>
</div>
<div class="wr-input-control">
<label class="wr-input-label checkbox">
<input id="force-connect-to-WiFi-enabled" type="checkbox"
class="operationDataKeys" data-key="wifiForceConnectEnabled" checked="checked"/>
<span class="helper"
title="Having this checked would enable force-connect-to-WiFi-enabled in the device">
Enable force connect to WiFi
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span>
</label>
</div>
<!--</div>-->
</div>
</div>

@ -1230,6 +1230,17 @@
<input id="wifi-password" type="password" class="form-control operationDataKeys"
data-key="wifiPassword" maxlength="100" disabled/>
</div>
<div class="wr-input-control">
<label class="wr-input-label checkbox">
<input id="force-connect-to-WiFi-enabled" type="checkbox"
class="operationDataKeys" data-key="wifiForceConnectEnabled" checked="checked"/>
<span class="helper"
title="Having this checked would enable force-connect-to-WiFi-enabled in the device">
Enable force connect to WiFi
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span>
</label>
</div>
<!--</div>-->
</div>
</div>

@ -1245,6 +1245,17 @@
<input id="wifi-password" type="password" class="form-control operationDataKeys"
data-key="wifiPassword" maxlength="100"/>
</div>
<div class="wr-input-control">
<label class="wr-input-label checkbox">
<input id="force-connect-to-WiFi-enabled" type="checkbox"
class="operationDataKeys" data-key="wifiForceConnectEnabled" checked="checked"/>
<span class="helper"
title="Having this checked would enable force-connect-to-WiFi-enabled in the device">
Enable force connect to WiFi
<span class="wr-help-tip glyphicon glyphicon-question-sign"></span>
</span>
</label>
</div>
<!--</div>-->
</div>
</div>

Loading…
Cancel
Save