Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ffd6b3ab
authored
2022-06-03 14:46:14 -0400
by
Jeff Balicki
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
select
1 parent
4b42459c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
com/HTML/HTML.php
com/HTML/HTML.php
View file @
ffd6b3a
...
...
@@ -266,7 +266,7 @@ if (!function_exists('form_dropdown')) {
$form
=
'<select name="'
.
$name
.
'"'
.
$extra
.
$multiple
.
">
\n
"
;
if
(
$blankFirstOption
)
{
$form
.=
'<option value="">Select...</option>'
;
$form
.=
'<option
disabled
value="">Select...</option>'
;
}
foreach
(
$options
as
$key
=>
$val
)
{
...
...
@@ -360,6 +360,8 @@ function form_linked_dropdown(
var option = document.createElement("option");
var val = "";
option.val = val;
option.disabled = true;
option.selected = true ;
option.innerHTML = "Select...";
select.appendChild(option);
...
...
Please
register
or
sign in
to post a comment