aboutsummaryrefslogtreecommitdiffstats
path: root/server/templates
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--server/templates/server/doc_list_readonly.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/server/templates/server/doc_list_readonly.html b/server/templates/server/doc_list_readonly.html
index ac1ae6d..c29fb74 100644
--- a/server/templates/server/doc_list_readonly.html
+++ b/server/templates/server/doc_list_readonly.html
@@ -600,7 +600,9 @@ $('#select-all').click(function(event) {
if(this.checked) {
// Iterate each checkbox
$('.allselect').each(function() {
- this.checked = true;
+ if (!this.hidden) {
+ this.checked = true;
+ }
});
} else {
$('.allselect').each(function() {
@@ -648,9 +650,11 @@ function filterResults(group_name) {
for (i = 0; i < items.length; i++) {
var a = items[i].children[0];
+ var checkBox = items[i].children[1].children[0].children[0];
var txtValue = a.value;
if (txtValue == group_name) {
items[i].style.display = action;
+ checkBox.hidden = (action == "none");
}
}
}