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
revert-dabc3590
Madawa Soysa 6 years ago committed by Madawa Soysa
parent 9c220a5b44
commit 09bc51c5e0

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

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

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

@ -163,6 +163,10 @@
<Name>Wifi</Name> <Name>Wifi</Name>
<Description>Setting up wifi configuration</Description> <Description>Setting up wifi configuration</Description>
</Feature> </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"> <Feature code="CAMERA">
<Name>Camera</Name> <Name>Camera</Name>
<Description>Enable or disable camera</Description> <Description>Enable or disable camera</Description>

Loading…
Cancel
Save