Index: openacs-4/packages/xowiki/tcl/adp-generator-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/adp-generator-procs.tcl,v diff -u -r1.45.2.2 -r1.45.2.3 --- openacs-4/packages/xowiki/tcl/adp-generator-procs.tcl 16 Jun 2016 09:36:47 -0000 1.45.2.2 +++ openacs-4/packages/xowiki/tcl/adp-generator-procs.tcl 10 Sep 2016 10:11:41 -0000 1.45.2.3 @@ -33,7 +33,17 @@ ADP_Generator instproc wikicmds_part {} { if {![my wikicmds]} {return ""} - return {
+ return { + <% + template::add_body_script -script { + document.getElementById('wiki-menu-do-search-control').addEventListener('click', function () { + document.getElementById('do_search').style.display = 'inline'; + document.getElementById('do_search_q').focus(); + return false; + }); + } + %> +
#xowiki.view# · #xowiki.edit# · #xotcl-core.revisions# · @@ -42,7 +52,7 @@ #xowiki.admin# · #xowiki.notifications#   · - #xowiki.search# · + #xowiki.search# · #xowiki.index#