Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
5d5f0e06
Commit
5d5f0e06
authored
Oct 10, 2001
by
timeless%mac.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugzilla Bug 97185 make_select should add a newline after each option
patch by kiko. r=zach, gerv
parent
1178d9a0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
CGI.pl
CGI.pl
+5
-5
No files found.
CGI.pl
View file @
5d5f0e06
...
...
@@ -557,7 +557,7 @@ sub make_selection_widget {
}
elsif
(
$type
eq
"RADIO"
)
{
$popup
.=
"<INPUT NAME=$groupname type=radio VALUE=\"$item\" check>$displaytext<br>"
;
}
else
{
$popup
.=
"<OPTION SELECTED VALUE=\"$item\">$displaytext"
;
$popup
.=
"<OPTION SELECTED VALUE=\"$item\">$displaytext
\n
"
;
}
$found
=
1
;
}
else
{
...
...
@@ -578,7 +578,7 @@ sub make_selection_widget {
}
elsif
(
$type
eq
"RADIO"
)
{
$popup
.=
"<INPUT NAME=$groupname type=radio checked>$default"
;
}
else
{
$popup
.=
"<OPTION SELECTED>$default"
;
$popup
.=
"<OPTION SELECTED>$default
\n
"
;
}
}
if
(
$type
eq
"LIST"
)
{
...
...
@@ -605,10 +605,10 @@ sub make_options {
}
$last
=
$item
;
if
(
$isregexp
?
$item
=~
$default
:
$default
eq
$item
)
{
$popup
.=
"<OPTION SELECTED VALUE=\"$item\">$item"
;
$popup
.=
"<OPTION SELECTED VALUE=\"$item\">$item
\n
"
;
$found
=
1
;
}
else
{
$popup
.=
"<OPTION VALUE=\"$item\">$item"
;
$popup
.=
"<OPTION VALUE=\"$item\">$item
\n
"
;
}
}
}
...
...
@@ -631,7 +631,7 @@ sub make_options {
exit
0
;
}
else
{
$popup
.=
"<OPTION SELECTED>$default"
;
$popup
.=
"<OPTION SELECTED>$default
\n
"
;
}
}
return
$popup
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment