diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-08-03 21:17:08 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-08-03 21:17:08 +0200 |
commit | b959641ca82d45f641a803b58dcfb91a90274956 (patch) | |
tree | fa658a7f3a8ab4f862e503ad2113fc24bffd0304 /view/js | |
parent | c50bfa07ca3a456d69d73988f42e58e3282879e9 (diff) | |
parent | 416adeb169f16fd25f7dbf54232451d8647cc999 (diff) | |
download | volse-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.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 |