Hi
i also get a script error at the third step i think i have tracked down the issue that i get.
The problem i see is this
when i import a csv that has table looking like this
SN;Model;MAC;WPA,3DES,SW
594624H109011790,EG101R1,00:22:07:00:A5:49,1234,12345,EG101R1_3.12NVT2111.1
594624H109010320,EG101R1,00:22:07:00:C2:18,234,12345,EG101R1_3.12NVT2111.1
then it works
if i then
try
"SN";"Model";"MAC";"WPA";"3DES";"SW"
"594624H109011790";"EG101R1";"00:22:07:00:A5:49";"123456";"12344";"EG101R1_3.12NVT2111.1"
"594624H109010320";"EG101R1";"00:22:07:00:C2:18";"1234";"12345";"EG101R1_3.12NVT2111.1"
then it does not work i suspect the "" around the columns is the issue
using firebug i get a message saying
" missing ) after argument list"
and is i check with firebug what the javascript call locks like it seems that the javascript needs to have \ to comment out the " in the csv list
ex
<option value=\"1\" >\"SN\"</option><option value=\"2\"
Original looks like this
toThirdStep("<table class=\"importCsvTable\" cellpadding=\"5\" cellspacing=\"1\" border=\"0\" width=\"100%\"><tr><td width=\"50%\">Mode <span class=\"require\"></span></td><td width=\"50%\"><select name=\"Mode\" id=\"Mode\"><option value=\"1\" >Insert all</option><option value=\"2\" >Insert new</option><option value=\"3\" >Insert new and replace old</option></select></td></tr><tr><td width=\"50%\">Items per one request <span class=\"require\"></span></td><td width=\"50%\"><input type=\"text\" name=\"perRequest\" id=\"perRequest\" value=\"10\"/></td></tr><tr><th colspan=\"2\">Keys for compare</th><tr><td>Table pole</td><td><select name=\"Tablekey\"><option value=\"\"></option><option value=\"id\" >id</option><option value=\"customerName\" >customerName</option><option value=\"addedDate\" >addedDate</option></select></td></tr><tr><td>CSV pole</td><td><select name=\"CSVkey\"><option value=\"\"></option><option value=\"1\" >"SN"</option><option value=\"2\" >"Model"</option><option value=\"3\" >"MAC"</option><option value=\"4\" >"WPA"</option><option value=\"5\" >"3DES"</option><option value=\"6\" >"SW"</option></select></td></tr></tr><tr><th>Table pole</th><th>CSV pole</th></tr><tr><td>id</td><td><select name=\"Poles[0]\" id=\"select_0\"><option value=\"\"></option><option value=\"1\" >"SN"</option><option value=\"2\" >"Model"</option><option value=\"3\" >"MAC"</option><option value=\"4\" >"WPA"</option><option value=\"5\" >"3DES"</option><option value=\"6\" >"SW"</option></select></td></tr><tr><td>customerName</td><td><select name=\"Poles[1]\" id=\"select_1\"><option value=\"\"></option><option value=\"1\" >"SN"</option><option value=\"2\" >"Model"</option><option value=\"3\" >"MAC"</option><option value=\"4\" >"WPA"</option><option value=\"5\" >"3DES"</option><option value=\"6\" >"SW"</option></select></td></tr><tr><td>addedDate</td><td><select name=\"Poles[2]\" id=\"select_2\"><option value=\"\"></option><option value=\"1\" >"SN"</option><option value=\"2\" >"Model"</option><option value=\"3\" >"MAC"</option><option value=\"4\" >"WPA"</option><option value=\"5\" >"3DES"</option><option value=\"6\" >"SW"</option></select></td></tr></table><br/><br/><strong><em>Notes</em></strong><br/>«Insert all» - All items add. Old items remain unchanged<br/>«Insert new» - New items add. Old items remain unchanged<br/>«Insert new and replace old» - New items add. Old items replace", ";", "Customer");