Commit a049ca27 authored by smestry's avatar smestry

Updated the js files for product Wizard changes


git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@104274 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 8e1b2ce0
...@@ -524,9 +524,24 @@ ...@@ -524,9 +524,24 @@
} }
}*/ }*/
// Changed by Sneha on 04-01-2017, to eliminate the duplicate record [Start]
selectedCode = $.unique( selectedCode ); selectedCode = $.unique( selectedCode );
selectedCode.reverse(); selectedCode.reverse();
var tmp = [];
for(var i = 0; i < selectedCode.length; i++)
{
if(tmp.indexOf(selectedCode[i]) == -1)
{
tmp.push(selectedCode[i]);
}
}
//alert("selectedCode before ========>>"+selectedCode);
selectedCode = [];
selectedCode = tmp.slice();
//alert("selectedCode after ========>>"+selectedCode);
// Changed by Sneha on 04-01-2017, to eliminate the duplicate record [End]
for( var i = 0; i < selectedCode.length; i++) for( var i = 0; i < selectedCode.length; i++)
{ {
seldbID = seldbID + selectedCode[i]; seldbID = seldbID + selectedCode[i];
......
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