summaryrefslogtreecommitdiffstats
path: root/editfields.cgi
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2008-11-07 18:34:39 +0100
committermkanat%bugzilla.org <>2008-11-07 18:34:39 +0100
commit63be194996849202878c4a87e4c68a25d1976d3e (patch)
tree657fbe1458ce256015a832251219669070886e1e /editfields.cgi
parentebd2e3a29a893e1ea26899bac53296fc6422f47c (diff)
downloadbugzilla-63be194996849202878c4a87e4c68a25d1976d3e.tar.gz
bugzilla-63be194996849202878c4a87e4c68a25d1976d3e.tar.xz
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 'editfields.cgi')
-rw-r--r--editfields.cgi2
1 files changed, 2 insertions, 0 deletions
diff --git a/editfields.cgi b/editfields.cgi
index e1c7d12c2..446753044 100644
--- a/editfields.cgi
+++ b/editfields.cgi
@@ -66,6 +66,7 @@ elsif ($action eq 'new') {
custom => 1,
visibility_field_id => scalar $cgi->param('visibility_field_id'),
visibility_value_id => scalar $cgi->param('visibility_value_id'),
+ value_field_id => scalar $cgi->param('value_field_id'),
});
delete_token($token);
@@ -110,6 +111,7 @@ elsif ($action eq 'update') {
$field->set_obsolete($cgi->param('obsolete'));
$field->set_visibility_field($cgi->param('visibility_field_id'));
$field->set_visibility_value($cgi->param('visibility_value_id'));
+ $field->set_value_field($cgi->param('value_field_id'));
$field->update();
delete_token($token);