Additional fix for bug 87770: attachment.cgi should work with no

parameters. Use <button> tags to allow for localization of the labels.
r=myk, a=myk.

I padded the Edit button with &nbsp;s to ensure it has the same width as
the View button; it may not be kosher but passes as visually agreeable,
at least.


git-svn-id: svn://10.0.0.236/trunk@154822 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kiko%async.com.br
2004-04-13 20:31:27 +00:00
parent 542659148c
commit 9a7a2515e4
2 changed files with 2 additions and 11 deletions

View File

@@ -76,15 +76,6 @@ my $cgi = Bugzilla->cgi;
# Determine whether to use the action specified by the user or the default.
my $action = $::FORM{'action'} || 'view';
# Slight awkward extra checks for the case when we came here from the
# attachment/choose.html.tmpl page
if ($action eq 'View') {
$action = 'view';
}
elsif ($action eq 'Edit') {
$action = 'edit';
}
if ($action eq "view")
{
validateID();