Closed
Bug 305216
Opened 19 years ago
Closed 19 years ago
Bookmark manager's move button doesnt work anymore
Categories
(Firefox :: Bookmarks & History, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: elfguy, Assigned: gsshih)
References
Details
(Keywords: fixed1.8, regression)
Attachments
(2 files, 1 obsolete file)
|
27.34 KB,
image/jpeg
|
Details | |
|
5.71 KB,
patch
|
bugs
:
review+
cbeard
:
approval1.8b4+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050819 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050819 Firefox/1.0+ When clicking on "Move" in the download manager, an XML parsing error occurs: XML Parsing Error: undefined entry: Location: chrome://browser/content/bookmarks/addBookmark.xul Line Numer 93, Column 11 Reproducible: Always Steps to Reproduce:
Comment 2•19 years ago
|
||
bug 300412 removed addGroup.label and addGroup.accesskey without checking for other callers, looks like.
Blocks: 300412
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking1.8b4?
Keywords: regression
Updated•19 years ago
|
Assignee: nobody → mconnor
Flags: blocking1.8b4? → blocking1.8b4+
Comment 4•19 years ago
|
||
Is there code in addBookmark.js that relies on this checkbox? hides it? handles its event handlers? If so, remove that too otherwise there may be js errors by removing the XUL element only. If not, let me know and I'll review this patch.
Comment 6•19 years ago
|
||
Comment on attachment 193186 [details] [diff] [review] also removed all dependent code in addBookmark.js r=ben@mozilla.org
Attachment #193186 -
Flags: review+
Updated•19 years ago
|
Assignee: mconnor → gsshih
Updated•19 years ago
|
Attachment #193186 -
Flags: approval1.8b4?
Shouldn't this comment be replaced by something else, given that
|window.arguments[5]| is still used a few lines below?
- * window.arguments[5]: If the mode is "addGroup", this is an array
- * of objects with name, URL and charset
- * properties, one for each group member.
[...]
+ url = getNormalizedURL(gFld_URL.value);
+ rSource = BMDS.createBookmark(gFld_Name.value, url, null, null,
gBookmarkCharset, false, "");
+ if (window.arguments.length > 4 && window.arguments[4] == "newBookmark") {
+ window.arguments[5].newBookmark = rSource;
+ }
Also:
@@ -210,7 +186,7 @@
function onFieldInput()
{
const ok = document.documentElement.getButton("accept");
- ok.disabled = gFld_URL.value == "" && !addingGroup() ||
+ ok.disabled = gFld_URL.value == "" ||
gFld_Name.value == "";
}
^^^^ remove these spacesSorry, I didn't mean those spaces, as you didn't touch that code. I meant these
ones...
+ window.arguments[5].newBookmark = rSource;
+ }
^^^^
Updated•19 years ago
|
Attachment #193186 -
Flags: approval1.8b4? → approval1.8b4+
Updated•19 years ago
|
Flags: blocking1.8b5+
You need to log in
before you can comment on or make changes to this bug.
Description
•