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
c6c99bcc
Commit
c6c99bcc
authored
Feb 09, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 545277: Closed bugs were always marked as FIXED in the resolution
<select> when show_bug.cgi was loaded r=LpSolit, a=mkanat
parent
75c45bfe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
field.js
js/field.js
+2
-1
No files found.
js/field.js
View file @
c6c99bcc
...
...
@@ -272,6 +272,7 @@ function showHideStatusItems(e, dupArrayInfo) {
// by "resolution" behave properly when resolution is hidden.
var
resolution
=
document
.
getElementById
(
'resolution'
);
if
(
resolution
&&
resolution
.
options
[
0
].
value
!=
''
)
{
resolution
.
bz_lastSelected
=
resolution
.
selectedIndex
;
var
emptyOption
=
new
Option
(
''
,
''
);
resolution
.
insertBefore
(
emptyOption
,
resolution
.
options
[
0
]);
emptyOption
.
selected
=
true
;
...
...
@@ -295,7 +296,7 @@ function showHideStatusItems(e, dupArrayInfo) {
// Remove the blank option we inserted.
if
(
resolution
&&
resolution
.
options
[
0
].
value
==
''
)
{
resolution
.
removeChild
(
resolution
.
options
[
0
]);
resolution
.
options
[
0
].
selected
=
true
;
resolution
.
selectedIndex
=
resolution
.
bz_lastSelected
;
}
}
...
...
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