forked from friendica/friendica-addons
option to not publish photos on wall
This commit is contained in:
parent
60696c01e7
commit
38e3373963
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