Fix issue with displaying configured policy info

This commit fixes the issue by engaging an onclick event to radio buttons to display the correct div of data
merge-requests/16/head
Madawa Soysa 6 years ago committed by Madawa Soysa
parent 9c220a5b44
commit 09bc51c5e0

@ -1015,10 +1015,8 @@
<input id="manual-proxy-configuration-radio-button" type="radio" name="global-proxy-config-type"
class="form-control operationDataKeys" data-key="proxyConfigType"
value="manual"
onload="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['manual','auto'])"
onchange="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['manual','auto'])" checked/>
onclick="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['manual','auto'])"/>
<span class="helper" title="Manually enter proxy configurations.">
Manual
</span>
@ -1027,9 +1025,7 @@
<input id="auto-proxy-configuration-radio-button" type="radio" name="global-proxy-config-type"
class="form-control operationDataKeys" data-key="proxyConfigType"
value="auto"
onload="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['auto','manual'])"
onchange="switchPaneAgainstValueSetForRadioButtons(this,
onclick="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['auto','manual'])"/>
<span class="helper"
title="Proxy configurations will be automatically fetched from Proxy PAC file.">

@ -1020,6 +1020,8 @@
<label class="wr-input-control radio light">
<input id="manual-proxy-configuration-radio-button" type="radio"
name="global-proxy-config-type"
onclick="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['manual','auto'])"
class="form-control operationDataKeys" data-key="proxyConfigType"
value="manual" disabled/>
<span class="helper" title="Manually enter proxy configurations.">
@ -1029,6 +1031,8 @@
<label class="wr-input-control radio light">
<input id="auto-proxy-configuration-radio-button" type="radio"
name="global-proxy-config-type"
onclick="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['auto','manual'])"
class="form-control operationDataKeys" data-key="proxyConfigType"
value="auto" disabled/>
<span class="helper"

@ -1039,9 +1039,7 @@
<input id="manual-proxy-configuration-radio-button" type="radio" name="global-proxy-config-type"
class="form-control operationDataKeys" data-key="proxyConfigType"
value="manual"
onload="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['manual','auto'])"
onchange="switchPaneAgainstValueSetForRadioButtons(this,
onclick="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['manual','auto'])" checked/>
<span class="helper" title="Manually enter proxy configurations.">
Manual
@ -1051,9 +1049,7 @@
<input id="auto-proxy-configuration-radio-button" type="radio" name="global-proxy-config-type"
class="form-control operationDataKeys" data-key="proxyConfigType"
value="auto"
onload="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['auto','manual'])"
onchange="switchPaneAgainstValueSetForRadioButtons(this,
onclick="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['auto','manual'])"/>
<span class="helper"
title="Proxy configurations will be automatically fetched from Proxy PAC file.">

@ -163,6 +163,10 @@
<Name>Wifi</Name>
<Description>Setting up wifi configuration</Description>
</Feature>
<Feature code="GLOBAL_PROXY">
<Name>Global Proxy</Name>
<Description>Setting up a network-independent global HTTP proxy on a device.</Description>
</Feature>
<Feature code="CAMERA">
<Name>Camera</Name>
<Description>Enable or disable camera</Description>

Loading…
Cancel
Save