Bug #307290 --> this synchs us up with how Firefox manages the release notes url by putting the
app version into the url string. And it cleans up some duplicated loadThrobberUrl cruft that I've been meaning to get to. I also renamed the release notes url resource ID to make it easier for localizers. git-svn-id: svn://10.0.0.236/trunk@179760 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -3432,18 +3432,6 @@ function SwitchElementFocus(event)
|
||||
}
|
||||
}
|
||||
|
||||
// XXX hack, reuse the implementation in mailWindowOverlay.js by moving that method to an overlay that is included here too
|
||||
function loadThrobberUrl(urlPref)
|
||||
{
|
||||
var url;
|
||||
try {
|
||||
url = sPrefs.getComplexValue(urlPref, Components.interfaces.nsIPrefLocalizedString).data;
|
||||
var messenger = Components.classes["@mozilla.org/messenger;1"].createInstance();
|
||||
messenger = messenger.QueryInterface(Components.interfaces.nsIMessenger);
|
||||
messenger.launchExternalURL(url);
|
||||
} catch (ex) {}
|
||||
}
|
||||
|
||||
function toggleAddressPicker()
|
||||
{
|
||||
var sidebarBox = document.getElementById("sidebar-box");
|
||||
|
||||
Reference in New Issue
Block a user