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
7dd74777
Commit
7dd74777
authored
Sep 10, 2014
by
Matt Tyson
Committed by
Byron Jones
Sep 10, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1036242: "TypeError: bug_status is undefined" when creating a bug
r=glob,a=sgreen
parent
76b32038
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
field.js
js/field.js
+8
-4
No files found.
js/field.js
View file @
7dd74777
...
@@ -46,10 +46,14 @@ function validateEnterBug(theform) {
...
@@ -46,10 +46,14 @@ function validateEnterBug(theform) {
_errorFor
(
attach_desc
,
'attach_desc'
);
_errorFor
(
attach_desc
,
'attach_desc'
);
focus_me
=
attach_desc
;
focus_me
=
attach_desc
;
}
}
var
check_description
=
status_comment_required
[
bug_status
.
value
];
// bug_status can be undefined if the bug_status field is not editable by
if
(
check_description
&&
YAHOO
.
lang
.
trim
(
description
.
value
)
==
''
)
{
// the currently logged in user.
_errorFor
(
description
,
'description'
);
if
(
bug_status
)
{
focus_me
=
description
;
var
check_description
=
status_comment_required
[
bug_status
.
value
];
if
(
check_description
&&
YAHOO
.
lang
.
trim
(
description
.
value
)
==
''
)
{
_errorFor
(
description
,
'description'
);
focus_me
=
description
;
}
}
}
if
(
YAHOO
.
lang
.
trim
(
short_desc
.
value
)
==
''
)
{
if
(
YAHOO
.
lang
.
trim
(
short_desc
.
value
)
==
''
)
{
_errorFor
(
short_desc
);
_errorFor
(
short_desc
);
...
...
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