Normation/rudder — pull request #24 by VinceMacBuche (2012-11-29 14:23:32+00:00)
Title: Fixes #3051 : Report table in rule compliance page is now working over 10 directives

Event click were not bound to lines hidden at the table initialisation (over 10 values)

I used dataTables parameter 'FnDrawCallback' to bind the event listener every time we change the table.

To prevent from havin two event listener on those lines i remove every listenner with method 'unbind()'

We also have to redraw inner table if they were present because as they are not automatically refreshed too.

this refer to issue : http://www.rudder-project.org/redmine/issues/3051