Bug 303307 - [Mac] If a prefpane doesn't have its own title, fallback to the prefwindow title. r+a=mconnor.
git-svn-id: svn://10.0.0.236/trunk@177158 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
style="width: 30em !important;"
|
||||
ondialogaccept="gSanitizePromptDialog.sanitize();">
|
||||
|
||||
<prefpane id="SanitizeDialogPane" onpaneload="gSanitizePromptDialog.init();" label="&sanitizeDialog.title;">
|
||||
<prefpane id="SanitizeDialogPane" onpaneload="gSanitizePromptDialog.init();">
|
||||
<stringbundle id="bundleBrowser" src="chrome://browser/locale/browser.properties"/>
|
||||
|
||||
<script type="application/x-javascript" src="chrome://browser/content/sanitize.js"/>
|
||||
|
||||
@@ -634,7 +634,9 @@
|
||||
<body>
|
||||
<![CDATA[
|
||||
#ifdef XP_MACOSX
|
||||
document.title = aPaneElement.label;
|
||||
var paneTitle = aPaneElement.label;
|
||||
if (paneTitle != "")
|
||||
document.title = paneTitle;
|
||||
#endif
|
||||
|
||||
// Find this pane's index in the deck and set the deck's
|
||||
|
||||
Reference in New Issue
Block a user