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
a77cbd20
Commit
a77cbd20
authored
Jan 23, 2009
by
guy.pyrzak%gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 471518: "Field only appears when:" produces a JavaScript error in Internet Explorer
Patch By Jill Foley <jillpf55@sbcglobal.net> r=mkanat, a=mkanat
parent
aff82a96
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
util.js
js/util.js
+1
-1
cf-js.js.tmpl
template/en/default/admin/custom_fields/cf-js.js.tmpl
+1
-1
No files found.
js/util.js
View file @
a77cbd20
...
...
@@ -166,7 +166,7 @@ function bz_isValueInArray(aArray, aValue)
*/
function
bz_createOptionInSelect
(
aSelect
,
aTextValue
,
aValue
)
{
var
myOption
=
new
Option
(
aTextValue
,
aValue
);
aSelect
.
appendChild
(
myOption
)
;
aSelect
.
options
[
aSelect
.
length
]
=
myOption
;
return
myOption
;
}
...
...
template/en/default/admin/custom_fields/cf-js.js.tmpl
View file @
a77cbd20
...
...
@@ -27,7 +27,7 @@ var select_values = new Array();
[% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %]
select_values[[% sel_field.id FILTER js %]] = [
[% FOREACH legal_value = sel_field.legal_values %]
[[% legal_value.id FILTER js %], '[% legal_value.name FILTER html %]']
,
[[% legal_value.id FILTER js %], '[% legal_value.name FILTER html %]']
[% ',' UNLESS loop.last %]
[% END %]
];
[% END %]
...
...
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