diff options
author | Andrew Manning <tamanning@zoho.com> | 2016-07-30 09:56:47 -0400 |
---|---|---|
committer | Andrew Manning <tamanning@zoho.com> | 2016-07-30 09:56:47 -0400 |
commit | 32366284a8372a4d5c7798b3ee3b238a614915ab (patch) | |
tree | 5f777a13eb7e9d1db7a2471321b3851e246940f8 /view/js/mod_webpages.js | |
parent | f17f51a9c1f62dc0229e2428cacea4e84313560e (diff) | |
download | volse-hubzilla-32366284a8372a4d5c7798b3ee3b238a614915ab.tar.gz volse-hubzilla-32366284a8372a4d5c7798b3ee3b238a614915ab.tar.bz2 volse-hubzilla-32366284a8372a4d5c7798b3ee3b238a614915ab.zip |
Import element selection page added to allow selective importing.
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 |