Closed
Bug 231651
Opened 20 years ago
Closed 20 years ago
gNavigatorBundle is not defined
Categories
(SeaMonkey :: UI Design, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugs4hj, Unassigned)
Details
Attachments
(1 file)
1.63 KB,
patch
|
timeless
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
Steps to reproduce (mozilla build 2004010708): 1) clear location bar history - Menu/Edit/Preferences/Navigator/History/Clear Location Bar 2) use Menu/File/Open Web Location (Ctrl+Shift+L) 3) click on the drop down arrow (textfield) Current result: Error: gNavigatorBundle is not defined Source File: chrome://navigator/content/sessionHistoryUI.js Line: 139 gNavigatorBundle is defined here: http://lxr.mozilla.org/seamonkey/source/xpfe/browser/resources/content/navigator.js#427 like this: var gNavigatorBundle = document.getElementById("bundle_navigator"); It is used in function createUBHistoryMenu() and that is called from two different XUL files: http://lxr.mozilla.org/seamonkey/source/xpfe/browser/resources/content/navigator.xul#192 http://lxr.mozilla.org/seamonkey/source/xpfe/communicator/resources/content/openLocation.xul#66 like this: var na = gNavigatorBundle.getString("nothingAvailable"); So we need to add something like this: <stringbundle id="bundle_navigator" src="chrome://navigator/locale/navigator.properties"/> <script type="application/x-javascript"> <![CDATA[ var gNavigatorBundle = document.getElementById("bundle_navigator"); ]]> </script> here: http://lxr.mozilla.org/seamonkey/source/xpfe/communicator/resources/content/openLocation.xul#52
Assignee: general → guifeatures
Component: Browser-General → XP Apps: GUI Features
Comment 1•20 years ago
|
||
Updated•20 years ago
|
Attachment #139535 -
Flags: review?(timeless)
Attachment #139535 -
Flags: review?(timeless) → review+
Yeah, that <script> thing was stupid. I completely missed openLocation.js while I was demontrating the powers of the mozilla MultiZilla combo. At least they learned how to file bug reports.
Updated•20 years ago
|
Attachment #139535 -
Flags: superreview?(jag)
Comment 3•20 years ago
|
||
Comment on attachment 139535 [details] [diff] [review] Proposed patch sr=jag
Attachment #139535 -
Flags: superreview?(jag) → superreview+
Comment 4•20 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•