Closed
Bug 205440
Opened 21 years ago
Closed 21 years ago
JavaScript error in internetresults.xul/.js
Categories
(SeaMonkey :: Search, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mnyromyr, Assigned: mnyromyr)
Details
Attachments
(1 file, 2 obsolete files)
10.91 KB,
patch
|
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
[This is another spin-off of my patch of bug 57654.] 1. "Error: switchTab is not defined" - enable advanced search in preferences->navigator->internet search - open the sidebar search panel - search something within *multiple* search engines ==> the combined results will be shown in the browser window - select a single search engine from the drop down box in the browser window ==> the JavaScript console will show "Error: switchTab is not defined" 2. function not always returning a value In internetresults.js, the event handler functions "listSelect" and "listClick" do not always return a value. Patch is forthcoming.
Assignee | ||
Comment 1•21 years ago
|
||
This patch fixes the missing inclusion of search-panel.js in internetresults.xul, the associated getElementById problem in search-panel.js, and sets return values in internetresults.js.
Assignee | ||
Updated•21 years ago
|
Attachment #123430 -
Flags: superreview?(jaggernaut)
Attachment #123430 -
Flags: review?(shliang)
Attachment #123430 -
Flags: review?(shliang) → review+
Assignee | ||
Comment 2•21 years ago
|
||
- return savely from SwitchPanel if there's no sidebar search panel - removed padding space
Attachment #123430 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #124867 -
Flags: superreview?(jaggernaut)
Assignee | ||
Updated•21 years ago
|
Attachment #123430 -
Flags: superreview?(jaggernaut)
Comment 3•21 years ago
|
||
Comment on attachment 124867 [details] [diff] [review] incorporating jag's comments from IRC Sorry for not looking at this earlier. Is that try/catch really needed there? Would it be better to move switchTab into shared.js so you can avoid having to include search-panel.js in internetresults.xul? If your answer is no, sr=jag
Attachment #124867 -
Flags: superreview?(jaggernaut) → superreview+
Assignee | ||
Comment 4•21 years ago
|
||
- rewrite of the switchTab function without try{}catch by using available functions; cruft deleted - moving switchTab to shared.js meant to move getNavigatorWindow also
Assignee | ||
Updated•21 years ago
|
Attachment #126263 -
Flags: superreview?(jaggernaut)
Comment 5•21 years ago
|
||
Comment on attachment 126263 [details] [diff] [review] suggested changes from comment #3 sr=jag.
Attachment #126263 -
Flags: superreview?(jaggernaut) → superreview+
Assignee | ||
Updated•21 years ago
|
Attachment #126263 -
Flags: review?(shliang)
Assignee | ||
Updated•21 years ago
|
Attachment #124867 -
Attachment is obsolete: true
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 126263 [details] [diff] [review] suggested changes from comment #3 taking over (unconditional) r+ from first patch
Attachment #126263 -
Flags: review?(shliang)
Comment 7•21 years ago
|
||
checked in, marking fixed
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → SeaMonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•