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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
4d26270e
Commit
4d26270e
authored
Nov 07, 2001
by
jake%acutex.net
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 108547 - Make the JavaScript use proper DOM
Patch by Christopher Aillon <caillon@returnzero.com> r= timeless@bemail.org, kiko@async.com.br
parent
aacf0de9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
edit.atml
template/default/attachment/edit.atml
+9
-10
No files found.
template/default/attachment/edit.atml
View file @
4d26270e
...
...
@@ -160,18 +160,18 @@
function
hideElementById
(
id
)
{
var
elm
=
document
.
getElementById
(
id
);
if
(
!
elm
)
return
;
elm
.
style
.
setProperty
(
'display'
,
'none'
,
''
);
if
(
elm
)
{
elm
.
style
.
display
=
'none'
;
}
}
function
showElementById
(
id
,
val
)
{
var
elm
=
document
.
getElementById
(
id
);
if
(
!
elm
)
return
;
if
(
!
val
)
val
=
'inline'
;
elm
.
style
.
setProperty
(
'display'
,
val
,
''
);
if
(
elm
)
{
if
(
!
val
)
val
=
'inline'
;
elm
.
style
.
display
=
val
;
}
}
function
normalizeComments
()
...
...
@@ -181,15 +181,14 @@
var
small
=
document
.
getElementById
(
'smallCommentFrame'
);
var
big
=
document
.
getElementById
(
'editFrame'
);
if
(
small
.
style
.
getProperty
(
'display'
)
==
'none'
)
if
(
small
.
style
.
display
==
'none'
)
{
small
.
parentNode
.
removeChild
(
small
);
}
if
(
big
.
style
.
getProperty
(
'display'
)
==
'none'
)
if
(
big
.
style
.
display
==
'none'
)
{
big
.
parentNode
.
removeChild
(
big
);
}
}
</script>
...
...
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