|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-10-08 13:59 UTC] sebastian at sebastian-r dot de
Description: ------------ Clicking on an info link of the package browser to "View more info about package X" results in a JavaScript error. I am using MS Internet Explorer 6 on Windows Xp Pro with all current updates and service packs installed. Reproduce code: --------------- Click on a "View more info about package X" image link at for example http://pear.php.net/packages.php?catpid=12&catname=Images using IE 6. Expected result: ---------------- The package info should appear. Actual result: -------------- JavaScript error: PackageX is undefined PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 11:00:01 2025 UTC |
This patch should fix this bug. -- Cipriano Groenendal --- packages.html Mon Nov 17 08:39:16 2003 +++ ok.packages.html Mon Nov 17 08:37:58 2003 @@ -1,6 +1,6 @@ <script language="JavaScript" type="text/javascript"> <!-- - function toggleMoreInfo(packageName, rowNode) + function toggleMoreInfo(packageName, packageID) { if (!document.getElementById) { location.href = '/package/' + packageName; @@ -120,7 +120,7 @@ <td valign="top"><?=$p['summary']?></td> <td valign="top"> <?if($_browser->is_ie5up):?> - <a href="#" onclick="toggleMoreInfo(<?=$p['name']?>); return false" onmouseover="window.status = 'View more info about <?=$p['name']?>'; return true" onmouseout="window.status = ''" title="View more info about <?=$p['name']?>"> + <a href="#" onclick="toggleMoreInfo(<?=$p['name']?>, <?=$p['id']?>); return false" onmouseover="window.status = 'View more info about <?=$p['name']?>'; return true" onmouseout="window.status = ''" title="View more info about <?=$p['name']?>"> <img src="gifs/moreinfo.gif" border="0" /> </a> <?endif?>