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
532eabde
Commit
532eabde
authored
Mar 07, 2007
by
reed%reedloden.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 372997 - "JavaScript warnings in attachment.js" (part II) [p=reed r=timeless a=mkanat]
parent
a86c4419
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
attachment.js
js/attachment.js
+2
-2
No files found.
js/attachment.js
View file @
532eabde
...
...
@@ -49,7 +49,7 @@ function URLFieldHandler() {
"list"
,
"manual"
,
"bigfile"
,
"contenttypeselection"
,
"contenttypeentry"
);
var
i
;
var
i
,
thisfield
;
if
(
field_attachurl
.
value
.
match
(
/^
\s
*$/
))
{
for
(
i
=
0
;
i
<
greyfields
.
length
;
i
++
)
{
thisfield
=
document
.
getElementById
(
greyfields
[
i
]);
...
...
@@ -70,8 +70,8 @@ function URLFieldHandler() {
function
DataFieldHandler
()
{
var
field_data
=
document
.
getElementById
(
"data"
);
var
greyfields
=
new
Array
(
"attachurl"
);
var
i
,
thisfield
;
if
(
field_data
.
value
.
match
(
/^
\s
*$/
))
{
var
i
;
for
(
i
=
0
;
i
<
greyfields
.
length
;
i
++
)
{
thisfield
=
document
.
getElementById
(
greyfields
[
i
]);
if
(
thisfield
)
{
...
...
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