summaryrefslogtreecommitdiffstats
path: root/template/en/default/search
diff options
context:
space:
mode:
authorGuy Pyrzak <guy.pyrzak@gmail.com>2010-11-11 00:48:30 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2010-11-11 00:48:30 +0100
commitc24a113a529fe83c35112d785c52c6392a8e074a (patch)
tree48972e65efa47b2780d0473b979ffbf792ebbe3a /template/en/default/search
parentdc7395379aee87d98692a15e29a64055fc02801d (diff)
downloadbugzilla-c24a113a529fe83c35112d785c52c6392a8e074a.tar.gz
bugzilla-c24a113a529fe83c35112d785c52c6392a8e074a.tar.xz
Bug 591535: "Give me some help" link's iframe behavior is no longer necessary
r=LpSolit r=mkanat a=mkanat
Diffstat (limited to 'template/en/default/search')
-rw-r--r--template/en/default/search/search-advanced.html.tmpl21
1 files changed, 4 insertions, 17 deletions
diff --git a/template/en/default/search/search-advanced.html.tmpl b/template/en/default/search/search-advanced.html.tmpl
index 0afa1437f..ef7fa769a 100644
--- a/template/en/default/search/search-advanced.html.tmpl
+++ b/template/en/default/search/search-advanced.html.tmpl
@@ -36,12 +36,11 @@ var queryform = "queryform"
[% PROCESS global/header.html.tmpl
title = "Search for $terms.bugs"
- onload = "doOnSelectProduct(0); enableHelp();"
+ onload = "doOnSelectProduct(0);"
javascript = js_data
yui = [ 'autocomplete', 'calendar' ]
- javascript_urls = [ "js/productform.js", "js/util.js",
- "js/help.js" , "js/TUI.js", "js/field.js"]
- style_urls = [ "skins/standard/help.css" , "skins/standard/search_form.css" ]
+ javascript_urls = [ "js/productform.js", "js/util.js", "js/TUI.js", "js/field.js"]
+ style_urls = [ "skins/standard/search_form.css" ]
doc_section = "query.html"
style = "dl.bug_changes dt {
margin-top: 15px;
@@ -52,19 +51,7 @@ var queryform = "queryform"
[% button_name = "Search" %]
-[%# The decent help requires Javascript %]
-<script type="text/javascript"> <!--
-[% IF NOT cgi.param("help") %]
- document.write("<p><a href='query.cgi?help=1&amp;format=advanced'>Give me some help<\/a> (reloads page).<\/p>");
-[% ELSE %]
- [% PROCESS "bug/field-help.none.tmpl" %]
- if (generateHelp())
- document.write("<p>For help, mouse over the page elements.<\/p>");
- else
- document.write("<p>Help initialization failed, no help available.<\/p>");
-[% END %]
-// -->
-</script>
+<p id="search_help">Hover your mouse over each field label to get help for that field.</p>
<form method="post" action="buglist.cgi" name="queryform" id="queryform">