[dev] turba: [patch]

Marc Jauvin marc at register4less.com
Tue Jul 22 22:08:30 PDT 2003


This patch sets the focus on the "advanced" search screen.
(how do we set the focus on the "addobject" screen!?)

Index: advanced.php
===================================================================
RCS file: /repository/turba/advanced.php,v
retrieving revision 1.44
diff -u -r1.44 advanced.php
--- advanced.php        22 May 2003 19:42:41 -0000      1.44
+++ advanced.php        23 Jul 2003 05:06:35 -0000
@@ -17,7 +17,7 @@
 require TURBA_BASE . '/config/attributes.php';

 $title = _("Advanced Search");
-$js_onLoad = null;
+$js_onLoad = 'document.dirsearch.name.focus();';
 require TURBA_TEMPLATES . '/common-header.inc';

 /* Make sure the search session variable is registered in the session,



--
Marc Jauvin
http://register4less.com
450-441-5458


More information about the dev mailing list