aboutsummaryrefslogtreecommitdiffstats
path: root/view/js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-08-03 21:17:08 +0200
committerMario Vavti <mario@mariovavti.com>2016-08-03 21:17:08 +0200
commitb959641ca82d45f641a803b58dcfb91a90274956 (patch)
treefa658a7f3a8ab4f862e503ad2113fc24bffd0304 /view/js
parentc50bfa07ca3a456d69d73988f42e58e3282879e9 (diff)
parent416adeb169f16fd25f7dbf54232451d8647cc999 (diff)
downloadvolse-hubzilla-b959641ca82d45f641a803b58dcfb91a90274956.tar.gz
volse-hubzilla-b959641ca82d45f641a803b58dcfb91a90274956.tar.bz2
volse-hubzilla-b959641ca82d45f641a803b58dcfb91a90274956.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'view/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