Commit 4a763a68 authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 365753: Incorrect "Cancel" link when moving bug to another product - Patch…

Bug 365753: Incorrect "Cancel" link when moving bug to another product - Patch by Fré©ric Buclin <LpSolit@gmail.com> r=bkor a=justdave
parent b553417d
......@@ -118,7 +118,16 @@
</form>
<hr>
<a href="query.cgi">Cancel and Return to the Search Page</a>
[%# If 'id' is defined, then we are editing a single bug.
# Else we are editing several bugs at once. %]
[% IF cgi.param('id') AND cgi.param('id').match('^\d+$') %]
[% id = cgi.param('id') %]
[% "Cancel and Return to $terms.bug $id" FILTER bug_link(id) FILTER none %]
[% ELSE %]
<a href="buglist.cgi?regetlastlist=1">Cancel and Return to the last search results</a>
[% END %]
[% PROCESS global/footer.html.tmpl %]
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