svn: /web/php/trunk/js/ common.js

From: Date: Sun, 02 Jan 2011 14:24:57 +0000
Subject: svn: /web/php/trunk/js/ common.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10173@lists.php.net to get a copy of this message
bjori Sun, 02 Jan 2011 14:24:57 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=306983 Log: - go directly to the correct page rather then hitting the errorhandler first - fix 'undefined' error on maybe-we-should-skip-these-hits categories Changed paths: U web/php/trunk/js/common.js Modified: web/php/trunk/js/common.js =================================================================== --- web/php/trunk/js/common.js 2011-01-02 13:37:29 UTC (rev 306982) +++ web/php/trunk/js/common.js 2011-01-02 14:24:57 UTC (rev 306983) @@ -74,7 +74,7 @@ 'phpdoc:exceptionref': 'Exceptions', 'refentry': 'Functions' }; - return indexes[key]; + return indexes[key] || key; } }); $('#headsearch-keywords').catcomplete({ @@ -122,7 +122,7 @@ event.preventDefault(); $('#headsearch-keywords').val(ui.item.label); if (ui.item.value) { - window.location = '/manual/' + getLanguage() + '/' + ui.item.value; + window.location = '/manual/' + getLanguage() + '/' + ui.item.value + '.php'; } } });

« previous php.webmaster (#10173) next »