Closed Bug 588875 Opened 15 years ago Closed 15 years ago

Add collection UI tweakers

Categories

(addons.mozilla.org Graveyard :: Collections, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
5.11.9

People

(Reporter: jbalogh, Assigned: potch)

Details

(Whiteboard: [z])

Attachments

(1 file)

1. The description box should not be gigantic. 2. Clicking the comment button should focus the textarea.
Target Milestone: 5.11.8 → 5.11.9
Jeff, 2) is fixed in http://github.com/jbalogh/zamboni/commit/3f43372. 1) is a bit tricky- the textarea has the following markup: <textarea id="id_description" rows="10" cols="40" name="description"></textarea> that rows attribute is being generated automatically from the CollectionForm object, and I'm not sure how to override it. I could easily just use css to change the height, but the idea of that rows attribute being there still is bothersome. Any thoughts?
It can be fixed where the form is defined. usernames = forms.CharField(widget=forms.Textarea( attrs={'cols': 40, 'rows': 16})) http://github.com/jbalogh/zamboni/blob/master/apps/users/forms.py#L164
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Verified FIXED.
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: