aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--radicale_infcloud/web/forms.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/radicale_infcloud/web/forms.js b/radicale_infcloud/web/forms.js
index 62f6aec..e8155e9 100644
--- a/radicale_infcloud/web/forms.js
+++ b/radicale_infcloud/web/forms.js
@@ -1726,6 +1726,7 @@ function showEventForm(date, allDay, calEvent, jsEvent, mod, repeatOne, confirmR
$('#duplicateButton').hide();
$('#editOptionsButton').hide();
$('#resetButton').hide();
+ $('#uploadButton').show();
$('#deleteButton').hide();
if($('#ResourceCalDAVList').find('.resourceCalDAV_item.resourceCalDAV_item_selected').length>0 && $('#event_calendar').find('option[value="'+$('#ResourceCalDAVList').find('.resourceCalDAV_item.resourceCalDAV_item_selected').attr("data-id")+'"]').length>0)
@@ -2890,8 +2891,7 @@ function startEditModeEvent()
$('#saveButton').show();
$('#resetButton').show();
$('#deleteButton').show();
- /* WORKHERE: hide the uploadButton when editing an existing object */
- $('#uploadButton').show();
+ /* Do not show uploadButton; it will be handled elsewhere */
$('#uploadButton').on("drop",dropHandler(event));
$('#downloadButton').hide();
$('#show').val('');
bgstack15