aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_webpages.js
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-30 09:56:47 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-30 09:56:47 -0400
commit32366284a8372a4d5c7798b3ee3b238a614915ab (patch)
tree5f777a13eb7e9d1db7a2471321b3851e246940f8 /view/js/mod_webpages.js
parentf17f51a9c1f62dc0229e2428cacea4e84313560e (diff)
downloadvolse-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.js15
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