You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by di...@apache.org on 2016/07/04 17:03:37 UTC

svn commit: r1751347 - /ofbiz/trunk/applications/humanres/template/FindEmployee.ftl

Author: diveshdutta
Date: Mon Jul  4 17:03:37 2016
New Revision: 1751347

URL: http://svn.apache.org/viewvc?rev=1751347&view=rev
Log:
[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}&nbsp;
-                        <input type="radio" name="extInfo" value="P" onclick="javascript:refreshInfo();" <#if extInfo == "P">checked="checked"</#if>/>${uiLabelMap.PartyPostal}&nbsp;
-                        <input type="radio" name="extInfo" value="T" onclick="javascript:refreshInfo();" <#if extInfo == "T">checked="checked"</#if>/>${uiLabelMap.PartyTelecom}&nbsp;
-                        <input type="radio" name="extInfo" value="O" onclick="javascript:refreshInfo();" <#if extInfo == "O">checked="checked"</#if>/>${uiLabelMap.CommonOther}&nbsp;
+                    <td><label><input type="radio" name="extInfo" value="N" onclick="javascript:refreshInfo();" <#if extInfo == "N">checked="checked"</#if>/>${uiLabelMap.CommonNone}</label>&nbsp;
+                        <label><input type="radio" name="extInfo" value="P" onclick="javascript:refreshInfo();" <#if extInfo == "P">checked="checked"</#if>/>${uiLabelMap.PartyPostal}</label>&nbsp;
+                        <label><input type="radio" name="extInfo" value="T" onclick="javascript:refreshInfo();" <#if extInfo == "T">checked="checked"</#if>/>${uiLabelMap.PartyTelecom}</label>&nbsp;
+                        <label><input type="radio" name="extInfo" value="O" onclick="javascript:refreshInfo();" <#if extInfo == "O">checked="checked"</#if>/>${uiLabelMap.CommonOther}</label>&nbsp;
                     </td>
                 </tr>
                 <tr><td class='label'>${uiLabelMap.PartyPartyId}</td>