The branch, master has been updated via a6c722ace0defb2368c294ae987c8fe8a6946967 (commit) from 605be1d45bb12e050687859d758632b3e8553712 (commit)
- Log ----------------------------------------------------------------- commit a6c722ace0defb2368c294ae987c8fe8a6946967 Author: Marc Delisle marc@infomarc.info Date: Sat Dec 17 08:46:29 2011 -0500
Unused code
-----------------------------------------------------------------------
Summary of changes: js/functions.js | 66 ------------------------------------------------------- 1 files changed, 0 insertions(+), 66 deletions(-)
diff --git a/js/functions.js b/js/functions.js index d77c439..82d238a 100644 --- a/js/functions.js +++ b/js/functions.js @@ -521,72 +521,6 @@ function checkTableEditForm(theForm, fieldsCnt) return true; } // enf of the 'checkTableEditForm()' function
- -/** - * Ensures the choice between 'transmit', 'zipped', 'gzipped' and 'bzipped' - * checkboxes is consistant - * - * @param object the form - * @param string a code for the action that causes this function to be run - * - * @return boolean always true - */ -function checkTransmitDump(theForm, theAction) -{ - var formElts = theForm.elements; - - // 'zipped' option has been checked - if (theAction == 'zip' && formElts['zip'].checked) { - if (!formElts['asfile'].checked) { - theForm.elements['asfile'].checked = true; - } - if (typeof(formElts['gzip']) != 'undefined' && formElts['gzip'].checked) { - theForm.elements['gzip'].checked = false; - } - if (typeof(formElts['bzip']) != 'undefined' && formElts['bzip'].checked) { - theForm.elements['bzip'].checked = false; - } - } - // 'gzipped' option has been checked - else if (theAction == 'gzip' && formElts['gzip'].checked) { - if (!formElts['asfile'].checked) { - theForm.elements['asfile'].checked = true; - } - if (typeof(formElts['zip']) != 'undefined' && formElts['zip'].checked) { - theForm.elements['zip'].checked = false; - } - if (typeof(formElts['bzip']) != 'undefined' && formElts['bzip'].checked) { - theForm.elements['bzip'].checked = false; - } - } - // 'bzipped' option has been checked - else if (theAction == 'bzip' && formElts['bzip'].checked) { - if (!formElts['asfile'].checked) { - theForm.elements['asfile'].checked = true; - } - if (typeof(formElts['zip']) != 'undefined' && formElts['zip'].checked) { - theForm.elements['zip'].checked = false; - } - if (typeof(formElts['gzip']) != 'undefined' && formElts['gzip'].checked) { - theForm.elements['gzip'].checked = false; - } - } - // 'transmit' option has been unchecked - else if (theAction == 'transmit' && !formElts['asfile'].checked) { - if (typeof(formElts['zip']) != 'undefined' && formElts['zip'].checked) { - theForm.elements['zip'].checked = false; - } - if ((typeof(formElts['gzip']) != 'undefined' && formElts['gzip'].checked)) { - theForm.elements['gzip'].checked = false; - } - if ((typeof(formElts['bzip']) != 'undefined' && formElts['bzip'].checked)) { - theForm.elements['bzip'].checked = false; - } - } - - return true; -} // end of the 'checkTransmitDump()' function - $(document).ready(function() { /** * Row marking in horizontal mode (use "live" so that it works also for
hooks/post-receive