diff options
author | mkanat%bugzilla.org <> | 2008-11-07 17:34:39 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-11-07 17:34:39 +0000 |
commit | 63be194996849202878c4a87e4c68a25d1976d3e (patch) | |
tree | 657fbe1458ce256015a832251219669070886e1e /template/en/default/bug/create | |
parent | ebd2e3a29a893e1ea26899bac53296fc6422f47c (diff) | |
download | bugs-63be194996849202878c4a87e4c68a25d1976d3e.tar bugs-63be194996849202878c4a87e4c68a25d1976d3e.tar.gz bugs-63be194996849202878c4a87e4c68a25d1976d3e.tar.bz2 bugs-63be194996849202878c4a87e4c68a25d1976d3e.tar.xz bugs-63be194996849202878c4a87e4c68a25d1976d3e.zip |
Bug 308253: Ability to add select (enum) fields to a bug whose list of values depends on the value of another field
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=bbaetz, a=mkanat
Diffstat (limited to 'template/en/default/bug/create')
-rw-r--r-- | template/en/default/bug/create/create.html.tmpl | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index 0b941cc35..089292603 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -642,13 +642,12 @@ function handleWantsAttachment(wants_attachment) { </select> [% IF sel.name == "bug_status" %] - [% FOREACH controlled = select_fields.bug_status.controls_visibility_of %] - <script type="text/javascript"> - showFieldWhen('[% controlled.name FILTER js %]', - 'bug_status', - '[% controlled.visibility_value.name FILTER js %]'); + <script type="text/javascript"> + <!-- + [%+ INCLUDE "bug/field-events.js.tmpl" + field = select_fields.bug_status %] + //--> </script> - [% END %] [% END %] </td> [% END %] |