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
1cb96f9b
Commit
1cb96f9b
authored
Dec 17, 2008
by
dkl%redhat.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 460909 - Mass edit bug form does not allow adding private comments
Patch by Dave Lawrence <dkl@redhat.com> - r/a=LpSolit
parent
dd9a7df6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
9 deletions
+16
-9
field.js
js/field.js
+8
-0
edit.html.tmpl
template/en/default/bug/edit.html.tmpl
+0
-8
edit-multiple.html.tmpl
template/en/default/list/edit-multiple.html.tmpl
+8
-1
No files found.
js/field.js
View file @
1cb96f9b
...
...
@@ -324,6 +324,14 @@ function boldOnChange(e, field_id){
}
}
function
updateCommentTagControl
(
checkbox
,
form
)
{
if
(
checkbox
.
checked
)
{
form
.
comment
.
className
=
'bz_private'
;
}
else
{
form
.
comment
.
className
=
''
;
}
}
/**
* Says that a field should only be displayed when another field has
* a certain value. May only be called after the controller has already
...
...
template/en/default/bug/edit.html.tmpl
View file @
1cb96f9b
...
...
@@ -136,14 +136,6 @@
[% END %]
function updateCommentTagControl(checkbox, form) {
if (checkbox.checked) {
form.comment.className='bz_private';
} else {
form.comment.className='';
}
}
//-->
</script>
...
...
template/en/default/list/edit-multiple.html.tmpl
View file @
1cb96f9b
...
...
@@ -256,7 +256,14 @@
</table>
<b><label for="comment">Additional Comments:</label></b><br>
<b><label for="comment">Additional Comments:</label></b>
[% IF user.is_insider %]
<input type="checkbox" name="commentprivacy" value="1"
id="newcommentprivacy"
onClick="updateCommentTagControl(this, form)"/>
<label for="newcommentprivacy">Private</label>
[% END %]
<br>
[% INCLUDE global/textarea.html.tmpl
name = 'comment'
id = 'comment'
...
...
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