Add checkbox to force connect wifi

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

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

@ -1225,6 +1225,17 @@
<input id="wifi-password" type="password" class="form-control operationDataKeys" <input id="wifi-password" type="password" class="form-control operationDataKeys"
data-key="wifiPassword" maxlength="100"/> data-key="wifiPassword" maxlength="100"/>
</div> </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> </div>
</div> </div>

@ -1230,6 +1230,17 @@
<input id="wifi-password" type="password" class="form-control operationDataKeys" <input id="wifi-password" type="password" class="form-control operationDataKeys"
data-key="wifiPassword" maxlength="100" disabled/> data-key="wifiPassword" maxlength="100" disabled/>
</div> </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> </div>
</div> </div>

@ -1245,6 +1245,17 @@
<input id="wifi-password" type="password" class="form-control operationDataKeys" <input id="wifi-password" type="password" class="form-control operationDataKeys"
data-key="wifiPassword" maxlength="100"/> data-key="wifiPassword" maxlength="100"/>
</div> </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> </div>
</div> </div>

Loading…
Cancel
Save