projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#23598: Feature Request - Email notice to A/R Report Results [now uses checkboxes...
[freeside.git]
/
httemplate
/
search
/
elements
/
checkbox-foot.html
diff --git
a/httemplate/search/elements/checkbox-foot.html
b/httemplate/search/elements/checkbox-foot.html
index
cc4bac6
..
c470094
100644
(file)
--- a/
httemplate/search/elements/checkbox-foot.html
+++ b/
httemplate/search/elements/checkbox-foot.html
@@
-75,6
+75,15
@@
function setAll(setTo) {
checkboxes[i].checked = setTo;
}
}
checkboxes[i].checked = setTo;
}
}
+function toCGIString() {
+ var out = '';
+ for (var i = 0; i < checkboxes.length; i++) {
+ if (checkboxes[i].checked) {
+ out += '&' + checkboxes[i].name + '=' + checkboxes[i].value;
+ }
+ }
+ return out;
+}
</SCRIPT>
<%init>
my %opt = @_;
</SCRIPT>
<%init>
my %opt = @_;