Commit 1a5abe6a authored by jocuri%softhome.net's avatar jocuri%softhome.net

Bug 65320: Extra options on editproducts.cgi & editcomponents.cgi; r=jouni; a=justdave.

parent de34a344
......@@ -478,11 +478,13 @@ if ($action eq 'new') {
PutTrailer("<a href=\"editcomponents.cgi?product=" .
url_quote($product) . "\">edit</a> more components",
"<a href=\"editcomponents.cgi?product=". url_quote($product) .
"&action=add\">add</a> another component");
"&action=add\">add</a> another component",
"<a href=\"editproducts.cgi?action=add\">add</a> a new product");
} else {
PutTrailer("<a href=\"editcomponents.cgi\">edit</a> more components",
"<a href=\"editcomponents.cgi?action=add\">add</a>" .
"another component");
"another component",
"<a href=\"editproducts.cgi?action=add\">add</a> a new product");
}
exit;
}
......
......@@ -436,6 +436,7 @@ if ($action eq 'new') {
print "OK, done.<p>\n";
PutTrailer($localtrailer,
"<a href=\"editproducts.cgi?action=add\">add</a> a new product",
"<a href=\"editcomponents.cgi?action=add&product=" .
url_quote($product) . "\">add</a> components to this new product");
exit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment