Closed Bug 1188561 Opened 9 years ago Closed 9 years ago

Pre-populate form.fxos.feature fields with GET parameters

Categories

(bugzilla.mozilla.org :: Custom Bug Entry Forms, defect)

Production
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: drs, Assigned: dkl)

References

Details

Attachments

(1 file)

It would be nice if we could pre-populate the fields on the form.fxos.feature form with the GET parameters passed into the form.

e.g. https://bugzilla.mozilla.org/form.fxos.feature?feature_type=Existing%20Feature%20Defect would pre-populate the "This is a feature request" field with "Existing Feature Defect".
Depends on: 1181453
Comment on attachment 8641485 [details] [diff] [review]
1188561_1.patch

Review of attachment 8641485 [details] [diff] [review]:
-----------------------------------------------------------------

r=glob

::: extensions/BMO/template/en/default/bug/create/create-fxos-feature.html.tmpl
@@ +183,5 @@
>    <div class="field_desc">
>    </div>
>    <select id="discussion" name="discussion">
> +    <option value="no" [% "selected" IF discussion == 'no' %]>No</option>
> +    <option value="yes" [% "selected" IF discussion == 'yes' %]>Yes</option>

[%=
Attachment #8641485 - Flags: review?(glob) → review+
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
   61b3449..3cd9430  master -> master
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: