]> git.mxchange.org Git - friendica-addons.git/commitdiff
option to not publish photos on wall
authorFriendika <info@friendika.com>
Sat, 1 Oct 2011 13:19:34 +0000 (06:19 -0700)
committerFriendika <info@friendika.com>
Sat, 1 Oct 2011 13:19:34 +0000 (06:19 -0700)
js_upload.tgz
js_upload/js_upload.php

index bfbbab6ea59abd9c0478cf9fd4de1dc9b182b877..96afb12e2a15908dfec9978a1b82855c0181a0dc 100644 (file)
Binary files a/js_upload.tgz and b/js_upload.tgz differ
index 1996b85040aa6c1cb616a5e5432721b8908494b2..c529be36602de6f0821a8e443ac369288dc63f4e 100644 (file)
@@ -96,6 +96,7 @@ function createUploader() {
                                uploader.setParams( {
                                        newalbum                :       document.getElementById('photos-upload-newalbum').value,
                                        album                   :       document.getElementById('photos-upload-album-select').value,
+                                       not_visible     :   document.getElementById('photos-upload-noshare').checked,
                                        group_allow             :       acl.allow_gid.join(','),
                                        contact_allow   :       acl.allow_cid.join(','),
                                        group_deny              :       acl.deny_gid.join(','),
@@ -105,6 +106,7 @@ function createUploader() {
                                uploader.setParams( {
                                        newalbum                :       document.getElementById('photos-upload-newalbum').value,
                                        album                   :       document.getElementById('photos-upload-album-select').value,
+                                       not_visible     :   document.getElementById('photos-upload-noshare').checked,
                                        group_allow             :       getSelected(document.getElementById('group_allow')).join(','),
                                        contact_allow   :       getSelected(document.getElementById('contact_allow')).join(','),
                                        group_deny              :       getSelected(document.getElementById('group_deny')).join(','),