aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_cloud.js
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-01-13 20:01:05 +0000
committerMario <mario@mariovavti.com>2023-01-13 20:01:05 +0000
commit2805520d1bcb2640fc079d54f5f230f7b87d1f84 (patch)
tree43b3e5bb7c71522d04560015478765a7b763a5fe /view/js/mod_cloud.js
parentf6d940606350eb8685c278af6d87f3a0b8c0f5e5 (diff)
parentfb7ca18820e7618325dded78a3c3a464dd01b391 (diff)
downloadvolse-hubzilla-2805520d1bcb2640fc079d54f5f230f7b87d1f84.tar.gz
volse-hubzilla-2805520d1bcb2640fc079d54f5f230f7b87d1f84.tar.bz2
volse-hubzilla-2805520d1bcb2640fc079d54f5f230f7b87d1f84.zip
Merge remote-tracking branch 'origin/8.0RC'8.0
Diffstat (limited to 'view/js/mod_cloud.js')
-rw-r--r--view/js/mod_cloud.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/view/js/mod_cloud.js b/view/js/mod_cloud.js
index 7f9cb4fd1..e0f59beab 100644
--- a/view/js/mod_cloud.js
+++ b/view/js/mod_cloud.js
@@ -411,6 +411,9 @@ function UploadInit() {
var filedrag = $(".cloud-index.attach-drop");
var reload = false;
+ if (!$('#invisible-cloud-file-upload').length)
+ return;
+
$('#invisible-cloud-file-upload').fileupload({
url: 'file_upload',
dataType: 'json',