Bug 158447 - Advanced autocomplete prefs dialog needs Help button. r=neil@parkwaycc.co.uk sr=alecf@flett.org. Patch by Daniel Wang (stolenclover@yahoo.com.tw)

This commit is contained in:
rlk%trfenv.com 2004-01-10 21:52:42 +00:00
parent c515f949e6
commit 90ff431bd4
3 changed files with 15 additions and 0 deletions

View File

@ -231,6 +231,7 @@ such as stock quotes, search, and other information from the Location bar.</li>
<li><b>More Information</b>: Click this to learn more about using Internet Keywords.</li>
</ul>
<a id="autocomplete-adv"></a>
<li><b>Location Bar Autocomplete</b>:</li>
<ul>
<li><b>Automatically complete text typed into Location bar</b>: Select this to

View File

@ -768,6 +768,14 @@
</nc:subheadings>
</rdf:Description>
<rdf:Description about="#navigator_pref_smart_browsing">
<nc:subheadings>
<rdf:Seq>
<rdf:li><rdf:Description ID="navigator_pref_autocomplete-adv" nc:name="Auto-complete" nc:link="chrome://help/locale/cs_nav_prefs_navigator.html#autocomplete-adv"/> </rdf:li>
</rdf:Seq>
</nc:subheadings>
</rdf:Description>
<rdf:Description about="#advanced_pref_advanced">
<nc:subheadings>
<rdf:Seq>

View File

@ -28,7 +28,9 @@
<?xml-stylesheet href="chrome://communicator/skin/prefpanels.css" type="text/css"?>
<dialog id="pref-smart_browsing-ac" title="&autoCompleteAdvanced.title;"
buttons="accept,cancel,help"
ondialogaccept="return onAccept();"
ondialoghelp="doHelpButton()"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/x-javascript"><![CDATA[
@ -92,6 +94,10 @@
showSearch.disabled = !spChecked;
}
function doHelpButton() {
openHelp('navigator_pref_autocomplete-adv');
}
]]></script>
<groupbox>