svn: /web/php/trunk/ include/header.inc js/common.js js/jquery.autocomplete.js js/jquery.autocomplete.pack.js styles/structure.css styles/theme.css
| From: | Stewart Lord | Date: | Tue, 28 Dec 2010 08:46:56 +0000 |
| Subject: | svn: /web/php/trunk/ include/header.inc js/common.js js/jquery.autocomplete.js js/jquery.autocomplete.pack.js styles/structure.css styles/theme.css | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-9899@lists.php.net to get a copy of this message | ||
stewartlord Tue, 28 Dec 2010 08:46:56 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=306776
Log:
Fixed the scoring of results in search auto-complete. This required an upgrade
to jQuery 1.4.4 and the inclusion of jQuery UI 1.8.7 (both linked to Google's
Ajax APIs CDN) as the auto-complete plugin has been rolled into the standard
jQuery UI library.
We now supply a source callback function to the auto-complete plugin (instead
of a JS array). This callback mimics the quick-ref logic for ranking manual
pages based on where the user's search term appears in the name of the doc
entry. However, it lacks the similar_text() component since that function is
not available in JS (doesn't seem like a significant loss).
Tweaked auto-complete related CSS rules to accommodate different markup
produced by the new version of the auto-complete plugin.
Changed paths:
U web/php/trunk/include/header.inc
U web/php/trunk/js/common.js
D web/php/trunk/js/jquery.autocomplete.js
D web/php/trunk/js/jquery.autocomplete.pack.js
U web/php/trunk/styles/structure.css
U web/php/trunk/styles/theme.css
Attachment: [text/x-diff] svn-diffs-306776.txt
Attachment: [text/x-diff] svn-diffs-306776.txt