Closed
Bug 669345
Opened 15 years ago
Closed 15 years ago
Add support for radio button elements for inline preferences
Categories
(Toolkit :: Add-ons Manager, enhancement)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla8
People
(Reporter: whimboo, Assigned: darktrojan)
References
Details
(Keywords: dev-doc-complete)
Attachments
(1 file, 3 obsolete files)
|
14.63 KB,
patch
|
Details | Diff | Splinter Review |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0a1) Gecko/20110630 Firefox/7.0a1
We don't support radio buttons for inline preferences yet. I think that a lot of add-ons would benefit from its availability.
| Reporter | ||
Updated•15 years ago
|
Version: 5 Branch → 7 Branch
| Assignee | ||
Updated•15 years ago
|
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Comment 1•15 years ago
|
||
Try run for 64c44d9e8629 is complete.
Detailed breakdown of the results available here:
http://tbpl.mozilla.org/?tree=Try&rev=64c44d9e8629
Results:
success: 13
warnings: 4
Total buildrequests: 17
Builds available at http://ftp.mozilla.org/pub/mozilla.org/firefox/try-builds/geoff@darktrojan.net-64c44d9e8629
| Assignee | ||
Comment 2•15 years ago
|
||
I wanted to do this without requiring a <radiogroup>, but the radio buttons won't work inside anonymous content.
(The try warnings are unrelated.)
Attachment #549058 -
Flags: review?(dtownsend)
| Assignee | ||
Comment 3•15 years ago
|
||
I've changed the logic to also accept bool or char prefs.
Attachment #549058 -
Attachment is obsolete: true
Attachment #549556 -
Flags: review?(dtownsend)
Attachment #549058 -
Flags: review?(dtownsend)
| Assignee | ||
Updated•15 years ago
|
Attachment #549556 -
Flags: review?(dtownsend) → review?(bmcbride)
Comment 4•15 years ago
|
||
Comment on attachment 549556 [details] [diff] [review]
patch with other pref types
Review of attachment 549556 [details] [diff] [review]:
-----------------------------------------------------------------
::: toolkit/mozapps/extensions/content/setting.xml
@@ +491,5 @@
> + <![CDATA[
> + let self = this;
> + this.radioGroup.addEventListener("command", function() {
> + self.valueToPreference();
> + }, false);
If you wanted to, you could instead do:
this.radioGroup.addEventListener("command", this.valueToPreference.bind(this), false);
(I only mention it because its new, few people know about it, and I think it's nicer.)
Attachment #549556 -
Flags: review?(bmcbride) → review+
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Comment 5•15 years ago
|
||
Comment 6•15 years ago
|
||
Backed out due to either this or bug 669390 leaking. No idea whats going on, but it started happening with that push - on all debug builds.
https://hg.mozilla.org/integration/fx-team/rev/51d7ece2bb10
http://tinderbox.mozilla.org/showlog.cgi?log=Fx-Team/1312863307.1312868107.7800.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Fx-Team/1312863348.1312867944.7375.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Fx-Team/1312867017.1312871451.22166.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Fx-Team/1312862532.1312866829.2356.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Fx-Team/1312865060.1312868669.9847.gz
http://tinderbox.mozilla.org/showlog.cgi?log=Fx-Team/1312862109.1312866139.32626.gz
Whiteboard: [fixed-in-fx-team]
| Assignee | ||
Comment 7•15 years ago
|
||
Attachment #549556 -
Attachment is obsolete: true
Updated•15 years ago
|
Keywords: checkin-needed
Comment 8•15 years ago
|
||
patching file toolkit/themes/pinstripe/mozapps/extensions/extensions.css
Hunk #1 FAILED at 1092
1 out of 1 hunks FAILED -- saving rejects to file toolkit/themes/pinstripe/mozapps/extensions/extensions.css.rej
patching file toolkit/themes/winstripe/mozapps/extensions/extensions.css
Hunk #1 FAILED at 1114
1 out of 1 hunks FAILED -- saving rejects to file toolkit/themes/winstripe/mozapps/extensions/extensions.css.rej
Keywords: checkin-needed
| Assignee | ||
Comment 9•15 years ago
|
||
Attachment #552309 -
Attachment is obsolete: true
| Assignee | ||
Updated•15 years ago
|
Keywords: checkin-needed
Updated•15 years ago
|
Keywords: checkin-needed
Comment 10•15 years ago
|
||
http://hg.mozilla.org/integration/mozilla-inbound/rev/d7d667d640b2
Noting the reviewer in your commit message is helpful
Target Milestone: --- → mozilla8
Version: 7 Branch → Trunk
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 12•15 years ago
|
||
Keywords: dev-doc-complete
| Reporter | ||
Comment 13•15 years ago
|
||
Geoff, the example extension you have uploaded lately as attachment to another bug, is it part of the tree? If yes, where can I find it? I would like to have an updated one with all the new features included. Thanks.
| Reporter | ||
Comment 14•15 years ago
|
||
I have updated the other example extension meanwhile on my own. And it looks great. Verified fixed on all platforms with builds like Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0a2) Gecko/20110824 Firefox/8.0a2
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•