summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-08-21 20:14:09 +0200
committermsquare <msquare@notrademark.de>2016-08-21 20:14:09 +0200
commit191328d7034a229901cac4af1240ab1885713129 (patch)
tree04a5037dcfde6495c3ab821a8d82fc51ba5b5812 /includes
parent53ad1b5110e22bdbb57960aec7d29b824dda7b5b (diff)
fix method names, quotes, duplication in forms.js
Diffstat (limited to 'includes')
-rw-r--r--includes/pages/user_shifts.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/pages/user_shifts.php b/includes/pages/user_shifts.php
index e4d20fdc..f6167cb3 100644
--- a/includes/pages/user_shifts.php
+++ b/includes/pages/user_shifts.php
@@ -856,8 +856,8 @@ function make_select($items, $selected, $name, $title = null) {
$html = '<div id="selection_' . $name . '" class="selection ' . $name . '">' . "\n";
$html .= implode("\n", $html_items);
$html .= buttons(array(
- button("javascript: check_all('selection_" . $name . "')", _("All"), ""),
- button("javascript: uncheck_all('selection_" . $name . "')", _("None"), "")
+ button("javascript: checkAll('selection_" . $name . "', true)", _("All"), ""),
+ button("javascript: checkAll('selection_" . $name . "', false)", _("None"), "")
));
$html .= '</div>' . "\n";
return $html;