birendranathmaity / jquery-datatables-column-filter

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

duplication events on change for date-range #159

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. when the column filter type is date-range ,duplication events

What is the expected output? What do you see instead?

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

Please provide any additional information below.

Original issue reported on code.google.com by brucew...@gmail.com on 8 May 2014 at 6:55

GoogleCodeExporter commented 9 years ago
i have update the source code : function fnCreateDateRangeInput(oTable) {...}

$('#' + sFromId + ',#' + sToId, th).unbind("change");
$('#' + sFromId + ',#' + sToId, th).change(function (events) {
   event.stopPropagation(); 
   oTable.fnDraw();
   fnOnFiltered();
   return false;
});
but the duplication events  still exist... 
can  anyone help me  ,very thanks 

Original comment by brucew...@gmail.com on 8 May 2014 at 7:01

GoogleCodeExporter commented 9 years ago
$('#' + sFromId + ',#' + sToId, th).unbind("change");
$('#' + sFromId + ',#' + sToId, th).bind("change",function (events) {
   event.stopPropagation(); 
   oTable.fnDraw();
   fnOnFiltered();
   return false;
});

Original comment by brucew...@gmail.com on 8 May 2014 at 7:02