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
877c8ef6
Commit
877c8ef6
authored
Nov 09, 2009
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 450747: Minor JS cleanup for the "edit multiple bugs" page
Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=mkanat, a=mkanat
parent
fc0f80b2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
edit-multiple.html.tmpl
template/en/default/list/edit-multiple.html.tmpl
+8
-5
No files found.
template/en/default/list/edit-multiple.html.tmpl
View file @
877c8ef6
...
...
@@ -28,12 +28,15 @@
<input type="hidden" name="token" value="[% token FILTER html %]">
<script type="text/javascript">
var numelements = document.forms.changeform.elements.length;
function SetCheckboxes(value) {
var item;
for (var i=0 ; i<numelements ; i++) {
item = document.forms.changeform.elements[i];
item.checked = value;
var elements = document.forms.changeform.getElementsByTagName('input'),
numelements = elements.length,
item, i;
for (i = 0; i < numelements; i++) {
item = elements[i];
if (item.type === 'checkbox' && item.name.match(/^id_/)) {
item.checked = value;
}
}
}
document.write(' <input type="button" name="uncheck_all" value="Uncheck All" onclick="SetCheckboxes(false);">');
...
...
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