summaryrefslogtreecommitdiffstats
path: root/editcomponents.cgi
diff options
context:
space:
mode:
authortara%tequilarista.org <>2000-07-26 07:12:39 +0200
committertara%tequilarista.org <>2000-07-26 07:12:39 +0200
commite79e71c772f36951201db873c8783e7653177c0d (patch)
treef7b05d23720b34fc6b806f6c5e8453696d885adf /editcomponents.cgi
parent48aa7f6a2823f2158c8a24f38328c086fd72eb0c (diff)
downloadbugzilla-e79e71c772f36951201db873c8783e7653177c0d.tar.gz
bugzilla-e79e71c772f36951201db873c8783e7653177c0d.tar.xz
Landing Jon Robertson's for bug #41915
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi6
1 files changed, 5 insertions, 1 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index d9ff666c4..9f7f43f6c 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -423,7 +423,11 @@ if ($action eq 'new') {
unlink "data/versioncache";
print "OK, done.<p>\n";
- PutTrailer($localtrailer);
+ if ($product) {
+ PutTrailer("<A HREF=\"editcomponents.cgi?product=" . url_quote($product) . "\">edit</A> more components or <A HREF=\"editcomponents.cgi?product=". url_quote($product) . "&action=add\">Add</A> another component");
+ } else {
+ PutTrailer("<A HREF=\"editcomponents.cgi\">edit</A> more components or <A HREF=\"editcomponents.cgi?action=add\">Add</A> another component");
+ }
exit;
}