Closed Bug 495930 Opened 15 years ago Closed 15 years ago

Textbox support in the preference system

Categories

(Firefox for Android Graveyard :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fabrice.desre, Unassigned)

References

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b4) Gecko/20090423 Firefox/3.5b4
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2a1pre) Gecko/20090530 Fennec/1.0b2pre

The preference system implemented in chrome/content/preferences/richpref.xml has no support for textboxes. This patch provides support for it.

Reproducible: Always
Attached file richpref-string binding (obsolete) —
Sample use :
<richpref pref="extensions.graffitwit.user.name" title="&pref.user.label;" type="string"/>
<richpref pref="extensions.graffitwit.user.password" inputtype="password" title="&pref.user.password;" type="string"/>

The inputtype attribute is used as the type attribute for the textbox.
Attached patch Proper patchSplinter Review
Here's the patch adding support for textbox preferences :
- a new binding in chrome/content/preferences/richpref.xml
- the css rule in chrome/content/browser.css
Attachment #381238 - Flags: review?(mark.finkle)
Attachment #381042 - Attachment is obsolete: true
Attachment #381238 - Flags: review?(mark.finkle) → review+
http://hg.mozilla.org/mobile-browser/rev/e7afec822981
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Blocks: 499370
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: