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
This commit is contained in:
Madawa Soysa 2019-01-29 10:57:34 +11:00 committed by Madawa Soysa
parent 9c220a5b44
commit 09bc51c5e0
4 changed files with 16 additions and 16 deletions

View File

@ -1015,11 +1015,9 @@
<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/>
<span class="helper"title="Manually enter proxy configurations.">
onclick="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['manual','auto'])"/>
<span class="helper" title="Manually enter proxy configurations.">
Manual
</span>
</label>
@ -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.">

View 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"

View File

@ -1039,11 +1039,9 @@
<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/>
<span class="helper"title="Manually enter proxy configurations.">
onclick="switchPaneAgainstValueSetForRadioButtons(this,
'global-proxy-configuration-type-', ['manual','auto'])" checked/>
<span class="helper" title="Manually enter proxy configurations.">
Manual
</span>
</label>
@ -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.">

View 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>