Closed
Bug 228035
Opened 21 years ago
Closed 21 years ago
OK button/enter in the new add bookmark dialog doesn't work until you select a folder
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
FIXED
Firebird0.8
People
(Reporter: steffen.wilberg, Assigned: steffen.wilberg)
Details
Attachments
(1 file)
647 bytes,
patch
|
p_ch
:
review+
|
Details | Diff | Splinter Review |
Steps to reproduce: 1. Click Ctrl-D. 2. Hit Enter Actual results: Nothing. Expected results: Add a bookmark. The OK button in the new add bookmark dialog doesn't work until you selected a folder in the menulist (small dialog) or the tree (large dialog). Clicking in the menulist, selecting the first (already selected) folder and clicking OK works. The js console shows this: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIRDFContainer.Init]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: chrome://browser/content/bookmarks/addBookmark2.js :: onOK :: line 66" data: no] The error in the js console refers to this line in addBookmarks2.js: RDFC.Init(BMDS, gSelectedFolder); That's because gSelectedFolder is undefined until you select a folder in the menulist or the tree. It has to be defined in Startup().
Assignee | ||
Comment 1•21 years ago
|
||
Adds gSelectedFolder = RDF.GetResource(gMenulist.selectedItem.id); to Startup().
Assignee | ||
Comment 2•21 years ago
|
||
Comment on attachment 137177 [details] [diff] [review] patch This works. I hope it's the right thing to do. :)
Attachment #137177 -
Flags: review?(p_ch)
Assignee | ||
Updated•21 years ago
|
Target Milestone: --- → Firebird0.8
Assignee | ||
Updated•21 years ago
|
Summary: OK button/enter in the new add bookmark dialog doesn't work until you selected a folder → OK button/enter in the new add bookmark dialog doesn't work until you select a folder
Updated•21 years ago
|
Attachment #137177 -
Flags: review?(p_ch) → review+
Comment 3•21 years ago
|
||
checked in.
Assignee | ||
Comment 4•21 years ago
|
||
Thanks Pierre. Marking fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 5•18 years ago
|
||
sorry for bugspam, long-overdue mass reassign of ancient QA contact bugs, filter on "beltznerLovesGoats" to get rid of this mass change
QA Contact: mconnor → bookmarks
You need to log in
before you can comment on or make changes to this bug.
Description
•