Closed
Bug 306358
Opened 19 years ago
Closed 19 years ago
Dragging and dropping of text in search bar gives js error.
Categories
(Firefox :: Search, defect)
Firefox
Search
Tracking
()
RESOLVED
FIXED
People
(Reporter: martijn.martijn, Assigned: Gavin)
References
Details
(Keywords: fixed1.8, regression)
Attachments
(1 file, 2 obsolete files)
3.17 KB,
patch
|
asaf
:
review+
|
Details | Diff | Splinter Review |
I get this error:
Error: this.mEnterEvent has no properties
Source File: chrome://browser/content/search.xml
Line: 307
And the search isn't working anymore.
I think this is a regression from bug 235204.
Reporter | ||
Comment 1•19 years ago
|
||
This fixes it for me.
Attachment #194213 -
Flags: review?(mconnor)
Reporter | ||
Comment 2•19 years ago
|
||
This patch would make bug 304850 obsolete, by the way.
Assignee | ||
Comment 3•19 years ago
|
||
Comment on attachment 194213 [details] [diff] [review]
patch
>Index: browser/base/content/search.xml
>+ var altKeyPressed = false;
>+ if (aEvent)
>+ this.mEnterEvent = aEvent;
> SearchLoadURL(searchURL, this.mEnterEvent.altKey);
altKeyPressed isn't being used, and I think the equivalent of (aEvent ||
this.mEnterEvent).altKey would work just as well, without needing to set
mEnterEvent.
Attachment #194213 -
Flags: review?(mconnor) → review-
Assignee | ||
Comment 4•19 years ago
|
||
Assignee: nobody → gavin.sharp
Attachment #194213 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Assignee | ||
Updated•19 years ago
|
Attachment #194253 -
Flags: review?(bugs.mano)
Comment 5•19 years ago
|
||
Comment on attachment 194253 [details] [diff] [review]
comments addressed
r=mano.
Attachment #194253 -
Flags: review?(bugs.mano) → review+
Assignee | ||
Updated•19 years ago
|
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
Assignee | ||
Comment 6•19 years ago
|
||
After thinking a little bit, I think this may be better, to deal with the case
of extension authors (like Paste and Go) who just call onTextEntered without an
event param.
Attachment #194253 -
Attachment is obsolete: true
Attachment #194333 -
Flags: review?(bugs.mano)
Comment 7•19 years ago
|
||
Comment on attachment 194333 [details] [diff] [review]
tweak
makes sense, r=mano.
Attachment #194333 -
Flags: review?(bugs.mano) → review+
Assignee | ||
Updated•19 years ago
|
Assignee | ||
Comment 8•19 years ago
|
||
Fixed on trunk.
mozilla/browser/base/content/search.xml; new revision: 1.28;
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•19 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•