Commit a5436140 authored by smestry's avatar smestry

Updated the Product wizard xsl for enter key disable


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@102412 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 934ca0dd
......@@ -263,7 +263,7 @@
style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_type', 'Product Type', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.item_type_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Product Type"/>
</a>
</div>
......@@ -288,7 +288,7 @@
style="width: 95%;"/>
<div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_ser', 'Item Series', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.item_ser_pophelp">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Item Series" />
</a>
</div>
......@@ -337,7 +337,7 @@
</div>
<div style="width:3%; float: right">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_category', 'Category', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.item_category_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Product Category" />
</a>
</div>
......@@ -363,7 +363,7 @@
</div>
<div style="width:3%; float: right">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','supplier_code', 'Supplier', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.supp_code_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Supplier" />
</a>
</div>
......@@ -392,7 +392,7 @@
</div>
<div style="width:3%; float: right">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','site_codes', 'Site Codes', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.site_codes_pophelp">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Site Availability" />
</a>
</div>
......@@ -420,7 +420,7 @@
</div>
<div style="width:3%; float: right">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','dimension_desc', 'Dimension', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.dimension_desc_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Dimension" />
</a>
</div>
......@@ -446,7 +446,7 @@
</div>
<div style="width:3%; float: right">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','color_codes', 'Color Codes', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.color_code_descr_pophelp">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Color Codes" />
</a>
</div>
......@@ -473,8 +473,8 @@
</div>
<div style="width:3%; float: right">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_phy_attrib_24', 'Brand', 0);"
style="float: left;text-decoration: none;">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Color Codes" />
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.item_phy_attrib_24_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Brands" />
</a>
</div>
</div>
......@@ -504,7 +504,7 @@
<!--<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','loc_code', 'Location Code', 0);"
style="float: left;text-decoration: none;">-->
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($site_code)}','loc_code', 'Location Code', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.loc_code_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Location Code" />
</a>
<!--Changed by wasim on 14-07-2015 to get login site code [END] -->
......@@ -538,7 +538,7 @@
id="Detail1.{normalize-space($dbID)}.tax" maxlength="20" ISCHANGED="false" readOnly="1" />
<div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','tax', 'Tax Codes', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail1.{normalize-space($dbID)}.tax_desc_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Tax Codes" />
</a>
</div>
......
......@@ -89,7 +89,10 @@
});
]]>
</script>
<!-- Changed by Sneha on 08-07-2016, to disable enter key [Start] -->
<body style="height: 100%; overflow: auto;" onload="getAppDateFormat()">
<!-- Changed by Sneha on 08-07-2016, to disable enter key [End] -->
<form name="prodWizFormII" id="prodWizFormII" METHOD="post" ACTION="/ibase/ITMWizardHandlerServlet"> <!-- -->
<div class="mainPage-Container" style="height: 100%;">
......@@ -450,27 +453,31 @@
<!--Added by Parikshit Kumbhar on 26/05/2015 [Added Tax field in SKU] End-->
<td >
<input type="text" class="editInputClass" size="8" value="{$item_length}" name="Detail2.{normalize-space($dbIDs)}.item_length"
id="Detail2.{normalize-space($dbIDs)}.item_length" maxlength="10" style='text-align: right;' onchange='return isNumeric(this)'/>
id="Detail2.{normalize-space($dbIDs)}.item_length" maxlength="10" style='text-align: right;' onchange='return isNumeric(this)'
onkeypress="return disableEnter()"/>
</td>
<td >
<input type="text" class="editInputClass" size="8" value="{$item_width}" name="Detail2.{normalize-space($dbIDs)}.item_width"
id="Detail2.{normalize-space($dbIDs)}.item_width" maxlength="10" style='text-align: right;' onchange='return isNumeric(this)'/>
id="Detail2.{normalize-space($dbIDs)}.item_width" maxlength="10" style='text-align: right;' onchange='return isNumeric(this)'
onkeypress="return disableEnter()"/>
</td>
<td >
<input type="text" class="editInputClass" size="8" value="{$item_height}" name="Detail2.{normalize-space($dbIDs)}.item_height"
id="Detail2.{normalize-space($dbIDs)}.item_height" maxlength="10" style='text-align: right;' onchange='return isNumeric(this)'/>
id="Detail2.{normalize-space($dbIDs)}.item_height" maxlength="10" style='text-align: right;' onchange='return isNumeric(this)'
onkeypress="return disableEnter()"/>
</td>
<td >
<input type="text" class="editInputClass" size="8" value="{$item_gross_wt}" name="Detail2.{normalize-space($dbIDs)}.item_gross_wt"
id="Detail2.{normalize-space($dbIDs)}.item_gross_wt" maxlength="10" style='text-align: right;' onchange='return isNumeric(this)'/>
id="Detail2.{normalize-space($dbIDs)}.item_gross_wt" maxlength="10" style='text-align: right;' onchange='return isNumeric(this)'
onkeypress="return disableEnter()"/>
</td>
<td >
<input type="text" class="editInputClass" size="13" value="{$item_barcode}" name="Detail2.{normalize-space($dbIDs)}.item_barcode"
id="Detail2.{normalize-space($dbIDs)}.item_barcode" maxlength="20" />
id="Detail2.{normalize-space($dbIDs)}.item_barcode" maxlength="20" onkeypress="return disableEnter()"/>
</td>
<td >
<input type="text" class="editInputClass" size="13" value="{$item_commodity}" name="Detail2.{normalize-space($dbIDs)}.item_commodity"
id="Detail2.{normalize-space($dbIDs)}.item_commodity" maxlength="20" />
id="Detail2.{normalize-space($dbIDs)}.item_commodity" maxlength="20" onkeypress="return disableEnter()"/>
</td>
<td >
......
......@@ -205,7 +205,7 @@ function setActionVal( value )
<!--Changed by Sneha on 07-07-2016, for item parent description [Start] -->
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Item description :</strong>
<strong>Item Description* :</strong>
</td>
<td class="td_leftAlign" colspan="3">
<input type="text" name="Detail2.{normalize-space($dbID)}.attr_value" id="Detail2.{normalize-space($dbID)}.attr_value"
......@@ -226,7 +226,7 @@ function setActionVal( value )
style="width: 95%;" />
<div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','item_type', 'Product Type', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.item_type_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Product Type"/>
</a>
</div>
......@@ -290,7 +290,7 @@ function setActionVal( value )
<tr>
<td class="td_leftAlign" nowrap="true">
<strong>Location Code :</strong>
<strong>Location Code* :</strong>
</td>
<td class="td_leftAlign">
......@@ -301,7 +301,7 @@ function setActionVal( value )
style="width: 95%;"/>
<div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','loc_code', 'Location Code', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.loc_code_pophelp">
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Location Code" />
</a>
</div>
......@@ -329,7 +329,7 @@ function setActionVal( value )
style="width: 95%;"/>
<div style="width:3%; float: right;">
<a href="javascript:callListJSP('{normalize-space($dbID)}','{normalize-space($login_code)}','phy_attrib_24', 'Brand', 0);"
style="float: left;text-decoration: none;">
style="float: left;text-decoration: none;" id="Detail2.{normalize-space($dbID)}.phy_attrib_24_pophelp" >
<img src="/ibase/webitm/images/DD/popup1.png" style="margin-left: -5px;" title="Select Location Code" />
</a>
</div>
......
......@@ -10,7 +10,7 @@
<head>
<meta charset="utf-8" />
</head>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Common.js"></script>
<script type="text/javascript" src="/ibase/webitm/js/prodWiz_Edit.js" charset="utf-8"></script>
<script type="text/javascript" src="/ibase/webitm/js/jquery-1.10.2.js"></script>
......@@ -234,7 +234,7 @@
id="Detail3.{normalize-space($dbIDs)}.attr_value" maxlength="90" style="width: 100%;" ISCHANGED='false' readOnly = '1' />
<input type="text" class="editInputClass" value="{$descr}" name="Detail3.{normalize-space($dbIDs)}.descr"
id="Detail3.{normalize-space($dbIDs)}.descr" maxlength="90" style="width: 100%;" ISCHANGED='false' readOnly = '1' />
id="Detail3.{normalize-space($dbIDs)}.descr" maxlength="90" style="width: 100%;" ISCHANGED='false' readOnly = '1' onkeypress="return disableEnter()"/>
<!-- <xsl:value-of select="descr"/> -->
<input type="hidden" class="editInputClass" value="{$item_code}" name="Detail3.{normalize-space($dbIDs)}.item_code"
......@@ -354,30 +354,30 @@
<td >
<input type="text" class="editInputClass" value="{$length}" name="Detail3.{normalize-space($dbIDs)}.length"
id="Detail3.{normalize-space($dbIDs)}.length" maxlength="11" style='text-align: right; width: 100%'
onchange='return isNumeric(this)'/>
onchange='return isNumeric(this)' onkeypress="return disableEnter()"/>
</td>
<td >
<input type="text" class="editInputClass" value="{$width}" name="Detail3.{normalize-space($dbIDs)}.width"
id="Detail3.{normalize-space($dbIDs)}.width" maxlength="11" style='text-align: right; width: 100%'
onchange='return isNumeric(this)'/>
onchange='return isNumeric(this)' onkeypress="return disableEnter()"/>
</td>
<td >
<input type="text" class="editInputClass" value="{$height}" name="Detail3.{normalize-space($dbIDs)}.height"
id="Detail3.{normalize-space($dbIDs)}.height" maxlength="11" style='text-align: right; width: 100%'
onchange='return isNumeric(this)'/>
onchange='return isNumeric(this)' onkeypress="return disableEnter()"/>
</td>
<td >
<input type="text" class="editInputClass" value="{$gross_weight}" name="Detail3.{normalize-space($dbIDs)}.gross_weight"
id="Detail3.{normalize-space($dbIDs)}.gross_weight" maxlength="11" style='text-align: right; width: 100%'
onchange='return isNumeric(this)'/>
onchange='return isNumeric(this)' onkeypress="return disableEnter()"/>
</td>
<td >
<input type="text" class="editInputClass" size="13" value="{$item_barcode}" name="Detail3.{normalize-space($dbIDs)}.item_barcode"
id="Detail3.{normalize-space($dbIDs)}.item_barcode" maxlength="20" style='width: 100%' />
id="Detail3.{normalize-space($dbIDs)}.item_barcode" maxlength="20" style='width: 100%' onkeypress="return disableEnter()" />
</td>
<td >
<input type="text" class="editInputClass" size="13" value="{$item_commodity}" name="Detail3.{normalize-space($dbIDs)}.item_commodity"
id="Detail3.{normalize-space($dbIDs)}.item_commodity" maxlength="20" style='width: 100%' />
id="Detail3.{normalize-space($dbIDs)}.item_commodity" maxlength="20" style='width: 100%' onkeypress="return disableEnter()"/>
</td>
<td >
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment