aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_webpages.js
diff options
context:
space:
mode:
authorhubzilla <git@macgirvin.com>2016-08-01 09:13:43 +1000
committerGitHub <noreply@github.com>2016-08-01 09:13:43 +1000
commit74c68f09e5d7fa28d7345e18e813dc726309ea48 (patch)
treea6e4b55e1eb695242165256808e47bed51a9df78 /view/js/mod_webpages.js
parentda9b6690e565452a9a9d69084a07ac48005d7e60 (diff)
parent99afd0a449cde502b32c30d5b6170c6b87b85edc (diff)
downloadvolse-hubzilla-74c68f09e5d7fa28d7345e18e813dc726309ea48.tar.gz
volse-hubzilla-74c68f09e5d7fa28d7345e18e813dc726309ea48.tar.bz2
volse-hubzilla-74c68f09e5d7fa28d7345e18e813dc726309ea48.zip
Merge pull request #469 from anaqreon/website-import
Website import tool
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