diff options
author | B. Stack <bgstack15@gmail.com> | 2022-05-16 14:16:02 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2022-05-16 18:58:19 -0400 |
commit | e32220a972bab607b49e2f8dfb8e1f824f4b89c7 (patch) | |
tree | d98270863f87c262ba85f093cb6dcdd72d5c85da | |
parent | Add Download button, and stub import button (diff) | |
download | radicaleinfcloud-e32220a972bab607b49e2f8dfb8e1f824f4b89c7.tar.gz radicaleinfcloud-e32220a972bab607b49e2f8dfb8e1f824f4b89c7.tar.bz2 radicaleinfcloud-e32220a972bab607b49e2f8dfb8e1f824f4b89c7.zip |
fix upload button add eventdownload-button
-rw-r--r-- | radicale_infcloud/web/forms.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/radicale_infcloud/web/forms.js b/radicale_infcloud/web/forms.js index c733b6d..1ebd0af 100644 --- a/radicale_infcloud/web/forms.js +++ b/radicale_infcloud/web/forms.js @@ -80,7 +80,6 @@ function setFormPosition(jsEvent, confirmRepeat) dist_y; $('#event_details_template').css('max-height',''); - document.getElementById('uploadButton').addEventListener("drop", dropHandler(event)); if(jsEvent) { @@ -2876,6 +2875,8 @@ function startEditModeEvent() $('#resetButton').show(); $('#deleteButton').show(); $('#uploadButton').show(); + $('#uploadButton').on("drop",dropHandler(event)); + $('#downloadButton').hide(); $('#show').val(''); $('#eventDetailsTable :input[disabled]').prop('disabled', false); $('#eventDetailsTable :input[type="text"]').prop('readonly', false); |