From: <tim...@us...> - 2012-01-28 01:24:46
|
Revision: 4846 http://web-erp.svn.sourceforge.net/web-erp/?rev=4846&view=rev Author: tim_schofield Date: 2012-01-28 01:24:40 +0000 (Sat, 28 Jan 2012) Log Message: ----------- Fix in inArray() function, correctly passing the text box value Modified Paths: -------------- trunk/javascripts/MiscFunctions.js Modified: trunk/javascripts/MiscFunctions.js =================================================================== --- trunk/javascripts/MiscFunctions.js 2012-01-27 23:22:26 UTC (rev 4845) +++ trunk/javascripts/MiscFunctions.js 2012-01-28 01:24:40 UTC (rev 4846) @@ -19,7 +19,7 @@ } function inArray(v,tA,m){ for (i=0;i<tA.length;i++) { - if (v.value==tA[i].value) { + if (v==tA[i].value) { return true; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |