Author: diveshdutta
Date: Mon Jul 4 17:03:37 2016
New Revision: 1751347
URL:
http://svn.apache.org/viewvc?rev=1751347&view=revLog:
[OFBIZ-7585] Humanares : Checkbox and Radio buttons should get selected on clicking upon their labels. Thanks Mohammad Kathawala for your patch
Modified:
ofbiz/trunk/applications/humanres/template/FindEmployee.ftl
Modified: ofbiz/trunk/applications/humanres/template/FindEmployee.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/humanres/template/FindEmployee.ftl?rev=1751347&r1=1751346&r2=1751347&view=diff==============================================================================
--- ofbiz/trunk/applications/humanres/template/FindEmployee.ftl (original)
+++ ofbiz/trunk/applications/humanres/template/FindEmployee.ftl Mon Jul 4 17:03:37 2016
@@ -44,10 +44,10 @@ under the License.
<input type="hidden" name="hideFields" value="Y"/>
<table cellspacing="0">
<tr><td class="label">${uiLabelMap.PartyContactInformation}</td>
- <td><input type="radio" name="extInfo" value="N" onclick="javascript:refreshInfo();" <#if extInfo == "N">checked="checked"</#if>/>${uiLabelMap.CommonNone}
- <input type="radio" name="extInfo" value="P" onclick="javascript:refreshInfo();" <#if extInfo == "P">checked="checked"</#if>/>${uiLabelMap.PartyPostal}
- <input type="radio" name="extInfo" value="T" onclick="javascript:refreshInfo();" <#if extInfo == "T">checked="checked"</#if>/>${uiLabelMap.PartyTelecom}
- <input type="radio" name="extInfo" value="O" onclick="javascript:refreshInfo();" <#if extInfo == "O">checked="checked"</#if>/>${uiLabelMap.CommonOther}
+ <td><label><input type="radio" name="extInfo" value="N" onclick="javascript:refreshInfo();" <#if extInfo == "N">checked="checked"</#if>/>${uiLabelMap.CommonNone}</label>
+ <label><input type="radio" name="extInfo" value="P" onclick="javascript:refreshInfo();" <#if extInfo == "P">checked="checked"</#if>/>${uiLabelMap.PartyPostal}</label>
+ <label><input type="radio" name="extInfo" value="T" onclick="javascript:refreshInfo();" <#if extInfo == "T">checked="checked"</#if>/>${uiLabelMap.PartyTelecom}</label>
+ <label><input type="radio" name="extInfo" value="O" onclick="javascript:refreshInfo();" <#if extInfo == "O">checked="checked"</#if>/>${uiLabelMap.CommonOther}</label>
</td>
</tr>
<tr><td class='label'>${uiLabelMap.PartyPartyId}</td>