From 191328d7034a229901cac4af1240ab1885713129 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 21 Aug 2016 20:14:09 +0200 Subject: fix method names, quotes, duplication in forms.js --- includes/pages/user_shifts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/pages/user_shifts.php') 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 = '
' . "\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 .= '
' . "\n"; return $html; -- cgit v1.2.3-54-g00ecf