Currently, agent approval is only supported page 1.
It's because the following code.
var sid = $(this).attr("sid");
This code only binds to visible element.
When we accessing page 2, this event is not bound so approval and unapproval are not working.
Fix with live() call is necessary.