diff options
author | tara%tequilarista.org <> | 2000-07-26 05:12:39 +0000 |
---|---|---|
committer | tara%tequilarista.org <> | 2000-07-26 05:12:39 +0000 |
commit | e79e71c772f36951201db873c8783e7653177c0d (patch) | |
tree | f7b05d23720b34fc6b806f6c5e8453696d885adf /editcomponents.cgi | |
parent | Landing Jon Robertson's for bug #41913 (diff) | |
download | bugzilla-e79e71c772f36951201db873c8783e7653177c0d.tar.gz bugzilla-e79e71c772f36951201db873c8783e7653177c0d.tar.bz2 bugzilla-e79e71c772f36951201db873c8783e7653177c0d.zip |
Landing Jon Robertson's for bug #41915
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-x | editcomponents.cgi | 6 |
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; } |