Closed Bug 154914 Opened 22 years ago Closed 22 years ago

Press Enter on collapsed history tree item causes page load.

Categories

(Core Graveyard :: History: Global, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: smeredith, Assigned: yuanyi21)

Details

Attachments

(1 file, 1 obsolete file)

Open the history window. Highlight a collapsed tree item, like "Today" for
example. Press Enter. The focus changes to a browser window and a page tries to
load. I'm not sure what the URL is.
taking...
Assignee: blaker → kyle.yuan
seeking r=
Comment on attachment 89870 [details] [diff] [review]
don't open url if the selected item is a container

i'd prefer this:
-    else
+    else {
+      if (! isContainer(gHistoryTree, currentIndex))
Attachment #89870 - Flags: review+
Attachment #89870 - Attachment is obsolete: true
Comment on attachment 89909 [details] [diff] [review]
revised per timeless's suggestions

carrying r=timeless
Attachment #89909 - Flags: review+
Comment on attachment 89909 [details] [diff] [review]
revised per timeless's suggestions

sr=blake
Attachment #89909 - Flags: superreview+
checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: