Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.1

Request #11241 add onclick support (patch included)
Submitted: 2007-06-06 13:53 UTC
From: rfreund Assigned: quipo
Status: Closed Package: Pager (version 2.4.3)
PHP Version: 5.1.6 OS:
Roadmaps: (Not assigned)    

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 1 + 21 = ?

 [2007-06-06 13:53 UTC] rfreund (Robert Freund)
Description: ------------ I reported this already, but something was wrong with the bug tracker. Shorter version now: I needed onclick support in the pager in order to have allow ajax (javascript) and normal link navigation. With the patch included, the pager can be build with options like this: 'fileName' => '/?page=%D', 'onclick' => 'page(%D)' Please take a look at the included patch. It would be nice to see this feature in the next version of pear pager.


 [2007-06-06 14:00 UTC] rfreund (Robert Freund)
The build configuration should contain %d instead of %D of course. Sorry.
 [2007-06-06 20:10 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on by the end of next Sunday (CET). If this was a problem with the website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.