diff options
author | Mario <mario@mariovavti.com> | 2023-01-03 10:59:38 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-01-03 10:59:38 +0000 |
commit | da9349ea621fbb506b0e1d78a8bf0a8f3958b48e (patch) | |
tree | c171060de20eee687dcb36c4c2be4cb0ed1f2395 /view/js/mod_cloud.js | |
parent | de0d2afc154196ed80960435ac9c74ce37635576 (diff) | |
download | volse-hubzilla-da9349ea621fbb506b0e1d78a8bf0a8f3958b48e.tar.gz volse-hubzilla-da9349ea621fbb506b0e1d78a8bf0a8f3958b48e.tar.bz2 volse-hubzilla-da9349ea621fbb506b0e1d78a8bf0a8f3958b48e.zip |
provide inline error messages for mod cloud
Diffstat (limited to 'view/js/mod_cloud.js')
-rw-r--r-- | view/js/mod_cloud.js | 3 |
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', |