mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 07:43:41 +00:00
option to not publish photos on wall
This commit is contained in:
parent
60696c01e7
commit
38e3373963
2 changed files with 2 additions and 0 deletions
BIN
js_upload.tgz
BIN
js_upload.tgz
Binary file not shown.
|
@ -96,6 +96,7 @@ function createUploader() {
|
||||||
uploader.setParams( {
|
uploader.setParams( {
|
||||||
newalbum : document.getElementById('photos-upload-newalbum').value,
|
newalbum : document.getElementById('photos-upload-newalbum').value,
|
||||||
album : document.getElementById('photos-upload-album-select').value,
|
album : document.getElementById('photos-upload-album-select').value,
|
||||||
|
not_visible : document.getElementById('photos-upload-noshare').checked,
|
||||||
group_allow : acl.allow_gid.join(','),
|
group_allow : acl.allow_gid.join(','),
|
||||||
contact_allow : acl.allow_cid.join(','),
|
contact_allow : acl.allow_cid.join(','),
|
||||||
group_deny : acl.deny_gid.join(','),
|
group_deny : acl.deny_gid.join(','),
|
||||||
|
@ -105,6 +106,7 @@ function createUploader() {
|
||||||
uploader.setParams( {
|
uploader.setParams( {
|
||||||
newalbum : document.getElementById('photos-upload-newalbum').value,
|
newalbum : document.getElementById('photos-upload-newalbum').value,
|
||||||
album : document.getElementById('photos-upload-album-select').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(','),
|
group_allow : getSelected(document.getElementById('group_allow')).join(','),
|
||||||
contact_allow : getSelected(document.getElementById('contact_allow')).join(','),
|
contact_allow : getSelected(document.getElementById('contact_allow')).join(','),
|
||||||
group_deny : getSelected(document.getElementById('group_deny')).join(','),
|
group_deny : getSelected(document.getElementById('group_deny')).join(','),
|
||||||
|
|
Loading…
Reference in a new issue