aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_photos.js
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-07-16 11:42:54 +0200
committerMario Vavti <mario@mariovavti.com>2021-07-16 11:42:54 +0200
commit62606bf006c83c7a7ad44121feebedd81cd43a79 (patch)
treeaf183e8d2f17e855e4fa0e37bf5649dd07d92ec7 /view/js/mod_photos.js
parentf5669c993545ab93e97e55e9f0ea1b2dcffe3573 (diff)
downloadvolse-hubzilla-62606bf006c83c7a7ad44121feebedd81cd43a79.tar.gz
volse-hubzilla-62606bf006c83c7a7ad44121feebedd81cd43a79.tar.bz2
volse-hubzilla-62606bf006c83c7a7ad44121feebedd81cd43a79.zip
photo upload: always show the textarea so that text and tags can be added even if no status post is sent
Diffstat (limited to 'view/js/mod_photos.js')
-rw-r--r--view/js/mod_photos.js13
1 files changed, 0 insertions, 13 deletions
diff --git a/view/js/mod_photos.js b/view/js/mod_photos.js
index 41b8ed560..1ce410a1b 100644
--- a/view/js/mod_photos.js
+++ b/view/js/mod_photos.js
@@ -8,24 +8,11 @@ $(document).ready(function() {
UploadInit();
}
- //$("#photo-edit-newtag").contact_autocomplete(baseurl + '/acl', 'a', false, function(data) {
- //$("#photo-edit-newtag").val('@' + data.name);
- //});
-
$(".comment-edit-form textarea").editor_autocomplete(baseurl+"/acl?f=&n=1");
$('textarea').editor_autocomplete(baseurl+"/acl");
$('textarea').bbco_autocomplete('bbcode');
- showHideBodyTextarea();
-
});
-function showHideBodyTextarea() {
- if( $('#id_visible').is(':checked'))
- $('#body-textarea').slideDown();
- else
- $('#body-textarea').slideUp();
-}
-
// initialize
function UploadInit() {