rifanece / jquery-datatables-column-filter

Automatically exported from code.google.com/p/jquery-datatables-column-filter
0 stars 0 forks source link

fnCreateSelect and escape #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use data with escapable characters.
2. Filter fails.

What is the expected output? What do you see instead?
Shown   : <option value="Avedis Zildjian " 17&quot;&quot;>Avedis Zildjian 
&quot;17&quot;</option>
Expected: <option value="Avedis%20Zildjian%20%2217%22">Avedia Zildjian 
"17"</option>

What version of the product are you using? On what operating system?
v1.2.1

Potential fix:
Line 155: r += '<option value="' + escape(aData[j]) + '">' + aData[j] 
+ '</option>';

Line 168: oTable.fnFilter(unescape($(this).val()), index);

Original issue reported on code.google.com by manentia00@gmail.com on 31 Jul 2011 at 7:26

GoogleCodeExporter commented 9 years ago

Original comment by joc...@gmail.com on 24 Sep 2011 at 10:46

GoogleCodeExporter commented 9 years ago
Hi,

this is changed in the version 1.2.2.

Thanks,
Jovan

Original comment by joc...@gmail.com on 24 Sep 2011 at 10:56