aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-22 04:42:55 +0000
committerlpsolit%gmail.com <>2006-08-22 04:42:55 +0000
commit8076d034878ebc044b30e8203594b8099a50ac57 (patch)
treedbc79d7410bc2f7614aebf4c6b24e77ba0ba5889 /editfields.cgi
parentBug 349363: DB::bz_add_column() shouldn't print anything when called from edi... (diff)
downloadbugzilla-8076d034878ebc044b30e8203594b8099a50ac57.tar.gz
bugzilla-8076d034878ebc044b30e8203594b8099a50ac57.tar.bz2
bugzilla-8076d034878ebc044b30e8203594b8099a50ac57.zip
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());