cvs: pear /Pager Common.php
| From: | Lorenzo Alberton | Date: | Tue, 29 Nov 2005 16:05:53 +0000 |
| Subject: | cvs: pear /Pager Common.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-36592@lists.php.net to get a copy of this message | ||
quipo Tue Nov 29 11:05:53 2005 EDT
Modified files:
/pear/Pager Common.php
Log:
During POST request, use href="javascript:void(0);" instead of href="#"
(request #6005)
http://cvs.php.net/diff.php/pear/Pager/Common.php?r1=1.40&r2=1.41&ty=u
Index: pear/Pager/Common.php
diff -u pear/Pager/Common.php:1.40 pear/Pager/Common.php:1.41
--- pear/Pager/Common.php:1.40 Tue Sep 27 03:49:14 2005
+++ pear/Pager/Common.php Tue Nov 29 11:05:52 2005
@@ -33,7 +33,7 @@
* @author Richard Heyes <richard@phpguru.org>
* @copyright 2003-2005 Lorenzo Alberton, Richard Heyes
* @license http://www.debian.org/misc/bsd.license BSD
License (3 Clause)
- * @version CVS: $Id: Common.php,v 1.40 2005/09/27 07:49:14 quipo Exp $
+ * @version CVS: $Id: Common.php,v 1.41 2005/11/29 16:05:52 quipo Exp $
* @link http://pear.php.net/package/Pager
*/
@@ -666,7 +666,7 @@
);
}
if ($this->_httpMethod == 'POST') {
- return sprintf('<a onclick=\'%s\' href="#"%s
title="%s">%s</a>',
+ return sprintf('<a onclick=\'%s\'
href="javascript:void(0);"%s title="%s">%s</a>',
$this->_generateFormOnClick($this->_url, $this->_linkData),
empty($this->_classString) ? '' : '
'.$this->_classString,
$altText,