Commit 7844769a authored by wansari's avatar wansari

D14IKAT004 updated css class and function callForm1


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@97465 ce508802-f39f-4f6c-b175-0d175dae99d5
parent bd419120
...@@ -358,8 +358,10 @@ function selectCheckbox() ...@@ -358,8 +358,10 @@ function selectCheckbox()
{ {
window.opener.document.getElementById("curr_code").value=supp_code; window.opener.document.getElementById("curr_code").value=supp_code;
if(exchRateBuy == "" || exchRateBuy == null) if(exchRateBuy == "" || exchRateBuy == null)
{ {
window.opener.document.getElementById("exch_rate").value = stdExrt; window.opener.document.getElementById("exch_rate").value = stdExrt;
window.opener.document.getElementById("exch_rate").className = "editInputClass";
window.opener.document.getElementById("exch_rate").readOnly = false;
} }
else else
{ {
...@@ -817,7 +819,11 @@ function run(x) ...@@ -817,7 +819,11 @@ function run(x)
function isNumberKey(evt) function isNumberKey(evt)
{ {
var charCode = (evt.which) ? evt.which : event.keyCode var charCode = (evt.which) ? evt.which : event.keyCode
if (charCode > 31 && (charCode < 48 || charCode > 57)) if(charCode == 46)
{
return true;
}
else if (charCode > 31 && (charCode < 48 || charCode > 57) )
{ {
alert('Enter only numeric value'); alert('Enter only numeric value');
return false; return false;
...@@ -1236,3 +1242,8 @@ function calQuantity(id,cols,row,qt,fld,t) ...@@ -1236,3 +1242,8 @@ function calQuantity(id,cols,row,qt,fld,t)
}*/ }*/
} }
function callForm1()
{
var url = "/ibase/webitm/jsp/E12WizardPage.jsp?OBJ_NAME=porderWiz&amp;FORM_NO=1";
window.location.href = url;
}
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