Commit:    8659b7c74271bdff5dcf18443d172aacf52794da
Author:    Hannes Magnusson <[email protected]>         Mon, 23 Dec 2013 
10:39:50 -0800
Parents:   7d504a68b5d95cf3acd957c6b30fa9d629c78584
Branches:  master

Link:       
http://git.php.net/?p=web/php.git;a=commitdiff;h=8659b7c74271bdff5dcf18443d172aacf52794da

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


--
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to