Closed
Bug 280796
Opened 20 years ago
Closed 20 years ago
Wrong JavaScript example for installing Firefox extension
Categories
(www.mozilla.org :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla, Assigned: annevk)
References
()
Details
Attachments
(3 files, 2 obsolete files)
|
7.86 KB,
patch
|
fantasai.bugs
:
review+
|
Details | Diff | Splinter Review |
|
6.09 KB,
patch
|
Details | Diff | Splinter Review | |
|
3.29 KB,
patch
|
Details | Diff | Splinter Review |
On the <http://www.mozilla.org/projects/firefox/extensions/web-api.html> is JavaScript code for installing extension. But there is a mistake. In the first color rectangle, there is: "<a href="http://www.foo.com/bar.xpi" iconURL="http://www.foo.com/bar.png" onclick="return install(this);">Install Extension!</a>" But onclick="return install(this)" will not work, probably only typo. You have to use onclick="return install(event);" as is in correct in the second color rectangle.
| Assignee | ||
Comment 1•20 years ago
|
||
This fixes that and some other nitpits.
Assignee: mozilla.webmaster → bug
Status: UNCONFIRMED → ASSIGNED
Attachment #173181 -
Flags: review?(fantasai.bugs)
| Assignee | ||
Comment 2•20 years ago
|
||
Sorry about that.
Attachment #173181 -
Attachment is obsolete: true
Attachment #173182 -
Flags: review?(fantasai.bugs)
| Assignee | ||
Updated•20 years ago
|
Attachment #173181 -
Flags: review?(fantasai.bugs)
Comment on attachment 173182 [details] [diff] [review] patch #2 Anne, I strongly suspect the language of this document is 'en' not 'nl'. Also, since you are making a lot of whitespace-only changes, please attach a -w diff for review.
Attachment #173182 -
Flags: review?(fantasai.bugs) → review-
| Assignee | ||
Comment 4•20 years ago
|
||
Argh, I have seen too much HTML today I guess. -w coming up.
Attachment #173182 -
Attachment is obsolete: true
Attachment #173201 -
Flags: review?(fantasai.bugs)
| Assignee | ||
Comment 5•20 years ago
|
||
Comment 6•20 years ago
|
||
script type should be text/javascript, isn't it?
Attachment #173201 -
Flags: review?(fantasai.bugs) → review+
| Assignee | ||
Comment 7•20 years ago
|
||
FIXED
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: mozilla.org → Websites
Updated•12 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•