From fb6a8f9bea266a720a0cadcceb08b4d36e7684ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 22 Dec 2015 09:11:15 +0100 Subject: [PATCH] Remove unused function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- js/functions.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/js/functions.js b/js/functions.js index 61fef006ba..4f9628dac7 100644 --- a/js/functions.js +++ b/js/functions.js @@ -975,20 +975,6 @@ function unMarkAllRows(container_id) return true; } -/** - * Checks/unchecks all checkbox in given container (f.e. a form, fieldset or div) - * - * @param string container_id the container id - * @param boolean state new value for checkbox (true or false) - * @return boolean always true - */ -function setCheckboxes(container_id, state) -{ - - $("#" + container_id).find("input:checkbox").prop('checked', state); - return true; -} // end of the 'setCheckboxes()' function - /** * Checks/unchecks all options of a