summaryrefslogtreecommitdiffstats
path: root/editfields.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-22 06:42:55 +0200
committerlpsolit%gmail.com <>2006-08-22 06:42:55 +0200
commit8076d034878ebc044b30e8203594b8099a50ac57 (patch)
treedbc79d7410bc2f7614aebf4c6b24e77ba0ba5889 /editfields.cgi
parentfcb6d45d570dd22c1219b02c36ba08d235912d4d (diff)
downloadbugzilla-8076d034878ebc044b30e8203594b8099a50ac57.tar.gz
bugzilla-8076d034878ebc044b30e8203594b8099a50ac57.tar.xz
Bug 349367: Display a message when a custom field has been successfully created - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
Diffstat (limited to 'editfields.cgi')
-rw-r--r--editfields.cgi1
1 files changed, 1 insertions, 0 deletions
diff --git a/editfields.cgi b/editfields.cgi
index 17db14092..1a7024433 100644
--- a/editfields.cgi
+++ b/editfields.cgi
@@ -91,6 +91,7 @@ elsif ($action eq 'new') {
Bugzilla::Field::create_or_update($vars);
$vars->{'custom_fields'} = [Bugzilla->get_fields({'custom' => 1})];
+ $vars->{'message'} = 'custom_field_created';
$template->process('admin/custom_fields/list.html.tmpl', $vars)
|| ThrowTemplateError($template->error());