oSettings._iDisplayStart can get into an inconsistant state if fnPreDrawCallback returns false #167

bmac opened this Issue Mar 16, 2013 · 1 comment

1 participant


If you visit this js fiddle http://jsfiddle.net/aGcVd/4/ then click the "Last" link you will be prompted with a confirm dialog. Clicking cancel will prevent the fnDraw function from being called. Unfortunately, the link handler will have already updated oSettings._iDisplayStart. As a result any subsequent clicks on the "Last" link will not call fnDraw.


I have created a fix for this bug on my local repo that can be seen here. bmac@ea3f9d5

Unfortunately, this fix makes use of events internally so I am not convinced it is the best solution.

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