svn commit: samba-web r735 - in trunk/news/js: .
deryck at samba.org
deryck at samba.org
Sat Jul 2 05:10:13 GMT 2005
Author: deryck
Date: 2005-07-02 05:10:12 +0000 (Sat, 02 Jul 2005)
New Revision: 735
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba-web&rev=735
Log:
Populate the form with the last query when serving
up search results.
deryck
Modified:
trunk/news/js/initPage.js
Changeset:
Modified: trunk/news/js/initPage.js
===================================================================
--- trunk/news/js/initPage.js 2005-07-02 05:01:39 UTC (rev 734)
+++ trunk/news/js/initPage.js 2005-07-02 05:10:12 UTC (rev 735)
@@ -42,6 +42,10 @@
}
delSessionCookie('query');
+
+ if (document.forms['srchForm'].keywords.value == '') {
+ document.forms['srchForm'].keywords.value = query;
+ }
}
}
}
More information about the samba-cvs
mailing list