diff options
author | redmatrix <git@macgirvin.com> | 2016-08-22 20:05:25 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-08-22 20:05:25 -0700 |
commit | b89c869e7ce2586852607a55717f5388c88e275d (patch) | |
tree | d76c0c76e348d92d392c2e1f25b12a7abeba51f4 /view/js/mod_webpages.js | |
parent | fbb357ac47f0c5823dd30aa9b955982035cef8ba (diff) | |
parent | 1a506ad49cdec5cd69c3081b15a3557b16a45a7e (diff) | |
download | volse-hubzilla-b89c869e7ce2586852607a55717f5388c88e275d.tar.gz volse-hubzilla-b89c869e7ce2586852607a55717f5388c88e275d.tar.bz2 volse-hubzilla-b89c869e7ce2586852607a55717f5388c88e275d.zip |
Merge branch '1.12RC'
Diffstat (limited to 'view/js/mod_webpages.js')
-rw-r--r-- | view/js/mod_webpages.js | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/view/js/mod_webpages.js b/view/js/mod_webpages.js new file mode 100644 index 000000000..7cfe297e1 --- /dev/null +++ b/view/js/mod_webpages.js @@ -0,0 +1,15 @@ +$(document).ready(function() { + $("input[type=\"checkbox\"]").hide(); +}); + +window.isChecked = true; + +function checkedAll(isChecked) { + window.isChecked = !window.isChecked ; + var c = document.getElementsByTagName('input'); + for (var i = 0; i < c.length; i++){ + if (c[i].type == 'checkbox'){ + c[i].checked = isChecked; + } + } +}
\ No newline at end of file |