svn: /web/php/trunk/include/ shared-manual.inc
| From: | Adam Harvey | Date: | Tue, 13 Oct 2009 02:46:02 +0000 |
| Subject: | svn: /web/php/trunk/include/ shared-manual.inc | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-6176@lists.php.net to get a copy of this message | ||
aharvey Tue, 13 Oct 2009 02:46:02 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=289602
Log:
Fix for bug #49830 (Multiple 'Report a Bug' links): make the selector that generates these
links and togglers more restrictive.
Bug: http://bugs.php.net/49830 (Assigned) Multiple
'Report a Bug' links
Changed paths:
U web/php/trunk/include/shared-manual.inc
Modified: web/php/trunk/include/shared-manual.inc
===================================================================
--- web/php/trunk/include/shared-manual.inc 2009-10-13 02:43:54 UTC (rev 289601)
+++ web/php/trunk/include/shared-manual.inc 2009-10-13 02:46:02 UTC (rev 289602)
@@ -119,7 +119,7 @@
}
};
- $(".refsect1 .title").each(function() {
+ $(".refsect1 h3.title").each(function() {
url = "http://bugs.php.net/report.php?bug_type=Documentation+problem&manpage="
+ $(this).parent().parent().attr("id") + "%23" + $(this).text();
$(this).parent().prepend("<div class=\'reportbug\'><a href=\'"
+ url + "\'>Report a bug</a></div>");
$(this).prepend("<a class=\'toggler shown\' href=\'#\'><img
src=\'/images/notes-reject.gif\' /></a> ");
@@ -127,7 +127,7 @@
$("#usernotes .head").each(function() {
$(this).prepend("<a class=\'toggler shown\' href=\'#\'><img
src=\'/images/notes-reject.gif\' /></a> ");
});
- $(".refsect1 .title .toggler").click(function() {
+ $(".refsect1 h3.title .toggler").click(function() {
$(this).parent().siblings().slideToggle("slow");
toggleImage(this);
return false;