cjai32 / jquery-datatables-editable

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

checkbox blur not working #156

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.
<table><tr><th>active</th><td><span class="icon-check-empty"></span> 
inactive</td></tr></table>

$('table').dataTable({}).makeEditable([{
    "type": "checkbox",
    "checkbox": {'falseValue': '<span class="icon-check-empty"></span> inactive', 'trueValue': '<span class="icon-check"></span> active' }                  
}]);

2. click on 'inactive' and you see a checkbox
3. click anywhere else and the checkbox does not disappear

What is the expected output?
I expect the input.blur() to work and to reset the field to showing the 
inactive text. 

What version of the product are you using? On what operating system?
version 2.3.3
Mac OSX Mountain Lion
Tested on Chrome and Firefox

Please provide any additional information below.
With console.log I debugged this to the blur not firing. Also on google people 
are saying that the .blur does nothing on a checkbox

Original issue reported on code.google.com by solidweb...@gmail.com on 12 Aug 2013 at 11:39

GoogleCodeExporter commented 8 years ago
jquery version 1.9.1

Original comment by solidweb...@gmail.com on 12 Aug 2013 at 11:40