mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug 361203 Suiterunner: More Information button doesn't work on Smart Browsing pane. r=KaiRo,sr=Neil
This commit is contained in:
parent
81d0f8bce8
commit
be2984f89d
@ -151,6 +151,7 @@ pref("browser.translation.serviceDomain", "chrome://navigator-region/locale/regi
|
||||
pref("browser.related.autoload", 1); // 0 = Always, 1 = After first use, 2 = Never
|
||||
pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
|
||||
pref("browser.related.disabledForDomains", "");
|
||||
pref("keyword.moreInfoURL", "chrome://branding/locale/brand.properties");
|
||||
|
||||
// Bookmarks prefs
|
||||
pref("browser.bookmarks.confirm_sorting", true);
|
||||
|
@ -40,17 +40,17 @@
|
||||
function moreInfo()
|
||||
{
|
||||
var browserURL = null;
|
||||
var regionBundle = document.getElementById("bundle_region");
|
||||
var smartBrowsingURL = regionBundle.getString("smartBrowsingURL");
|
||||
if (smartBrowsingURL) {
|
||||
try {
|
||||
browserURL = parent.hPrefWindow.getPref("string", "browser.chromeURL");
|
||||
} catch(e) {
|
||||
}
|
||||
if (browserURL == null)
|
||||
browserURL = "chrome://navigator/content/navigator.xul";
|
||||
window.openDialog( browserURL, "_blank", "chrome,all,dialog=no", smartBrowsingURL );
|
||||
try {
|
||||
browserURL = parent.hPrefWindow.getPref("string", "browser.chromeURL");
|
||||
} catch(e) {
|
||||
}
|
||||
if (browserURL == null)
|
||||
browserURL = "chrome://navigator/content/navigator.xul";
|
||||
|
||||
var formatter = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
|
||||
.getService(Components.interfaces.nsIURLFormatter);
|
||||
window.openDialog(browserURL, "_blank", "chrome,all,dialog=no",
|
||||
formatter.formatURLPref("keyword.moreInfoURL"));
|
||||
}
|
||||
|
||||
function showACAdvanced()
|
||||
|
@ -52,9 +52,6 @@
|
||||
onload="parent.initPanel('chrome://communicator/content/pref/pref-smart_browsing.xul');"
|
||||
headertitle="&pref.smartBrowsing.title;">
|
||||
|
||||
<stringbundle id="bundle_region"
|
||||
src="chrome://global-region/locale/region.properties"/>
|
||||
|
||||
<script type="application/x-javascript" src="chrome://communicator/content/pref/pref-smart_browsing.js"/>
|
||||
|
||||
<script type="application/x-javascript">
|
||||
|
@ -7,3 +7,4 @@ extensions.getMoreExtensionsURL=https://%LOCALE%.add-ons.mozilla.org/%LOCALE%/%A
|
||||
extensions.getMoreThemesURL=https://%LOCALE%.add-ons.mozilla.org/%LOCALE%/%APP%/%VERSION%/themes/
|
||||
spellchecker.dictionaries.download.url=https://%LOCALE%.add-ons.mozilla.org/%LOCALE%/%APP%/%VERSION%/dictionaries/
|
||||
app.releaseNotesURL=http://www.mozilla.org/projects/seamonkey/releases/seamonkey%VERSION%/
|
||||
keyword.moreInfoURL=http://www.mozilla.org/docs/end-user/internet-keywords.html
|
||||
|
@ -150,6 +150,7 @@ pref("browser.translation.serviceDomain", "chrome://navigator-region/locale/regi
|
||||
pref("browser.related.autoload", 1); // 0 = Always, 1 = After first use, 2 = Never
|
||||
pref("browser.related.provider", "http://www-rl.netscape.com/wtgn?");
|
||||
pref("browser.related.disabledForDomains", "");
|
||||
pref("keyword.moreInfoURL", "chrome://branding/locale/brand.properties");
|
||||
|
||||
// Bookmarks prefs
|
||||
pref("browser.bookmarks.confirm_sorting", true);
|
||||
|
@ -13,5 +13,4 @@ plugindoc_url=http://plugindoc.mozdev.org/
|
||||
# brand.properties
|
||||
#
|
||||
getNewThemesURL=http://mozilla.org/themes/download/
|
||||
smartBrowsingURL=http://www.mozilla.org/docs/end-user/internet-keywords.html
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user