summaryrefslogtreecommitdiffstats
path: root/template/en/default/list/edit-multiple.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'template/en/default/list/edit-multiple.html.tmpl')
-rw-r--r--template/en/default/list/edit-multiple.html.tmpl9
1 files changed, 7 insertions, 2 deletions
diff --git a/template/en/default/list/edit-multiple.html.tmpl b/template/en/default/list/edit-multiple.html.tmpl
index 80204a613..2282d69f4 100644
--- a/template/en/default/list/edit-multiple.html.tmpl
+++ b/template/en/default/list/edit-multiple.html.tmpl
@@ -10,6 +10,11 @@
<input type="hidden" name="dontchange" value="[% dontchange FILTER html %]">
<input type="hidden" name="token" value="[% token FILTER html %]">
+<input type="button" id="uncheck_all" value="Uncheck All"
+ class="bz_default_hidden" onclick="SetCheckboxes(false);">
+<input type="button" id="check_all" value="Check All"
+ class="bz_default_hidden" onclick="SetCheckboxes(true);">
+
<script type="text/javascript">
function SetCheckboxes(value) {
var elements = document.forms.changeform.getElementsByTagName('input'),
@@ -22,8 +27,8 @@
}
}
}
- document.write(' <input type="button" name="uncheck_all" value="Uncheck All" onclick="SetCheckboxes(false);">');
- document.write(' <input type="button" name="check_all" value="Check All" onclick="SetCheckboxes(true);">');
+ YAHOO.util.Dom.removeClass("check_all", "bz_default_hidden");
+ YAHOO.util.Dom.removeClass("uncheck_all", "bz_default_hidden");
</script>
<hr>