Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_livesearch
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11785/plugins/serendipity_event_livesearch
Modified Files:
serendipity_event_livesearch.js
Log Message:
<garvin>fixes autocomplete-caused problems in livesearch</garvin>
;)
Index: serendipity_event_livesearch.js
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_livesearch/serendipity_event_livesearch.js,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- serendipity_event_livesearch.js 14 Jul 2004 13:04:09 -0000 1.2
+++ serendipity_event_livesearch.js 19 Jul 2004 11:46:17 -0000 1.3
@@ -145,8 +145,8 @@
function liveSearchSubmit() {
var highlight = document.getElementById("LSHighlight");
if (highlight && highlight.firstChild) {
- window.location = highlight.firstChild.getAttribute("href");
- return false;
+ document.getElementById('searchform').action = highlight.firstChild.getAttribute("href");
+ return false;
}
else {
return true;
|