Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duplication events on change for date-range #159

Open
GoogleCodeExporter opened this issue Feb 5, 2016 · 2 comments
Open

duplication events on change for date-range #159

GoogleCodeExporter opened this issue Feb 5, 2016 · 2 comments

Comments

@GoogleCodeExporter
Copy link

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 [email protected] on 8 May 2014 at 6:55

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 8 May 2014 at 7:01

@GoogleCodeExporter
Copy link
Author

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

Original comment by [email protected] on 8 May 2014 at 7:02

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant