com web/php: Go to the actual file directly: js/search.js

From: Date: Mon, 23 Dec 2013 18:39:50 +0000
Subject: com web/php: Go to the actual file directly: js/search.js
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-22293@lists.php.net to get a copy of this message
Commit: fc6138aadcf84dcd223b699fa22c3d2c7b40afa3 Author: Hannes Magnusson <bjori@mongodb.com> Mon, 23 Dec 2013 10:39:50 -0800 Parents: 6e42779819d31eee6217d38102efacac0ef749eb Branches: master Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=fc6138aadcf84dcd223b699fa22c3d2c7b40afa3 Log: Go to the actual file directly Changed paths: M js/search.js Diff: diff --git a/js/search.js b/js/search.js index 4957fcd..3b805e9 100644 --- a/js/search.js +++ b/js/search.js @@ -311,7 +311,7 @@ $(element).typeahead(typeaheadOptions).on("typeahead:selected", function (_, item) { /* If the user has selected an autocomplete item and hits * enter, we should take them straight to the page. */ - window.location = "/" + item.id; + window.location = "/manual/" + options.language + "/" + item.id; }).on("keyup", (function () { /* typeahead.js doesn't give us a reliable event for the * dropdown entries having been updated, so we'll hook into the

« previous php.webmaster (#22293) next »