From 6f5ee56c2d7f2317a2bbbc4fb05a58edeb7931bd Mon Sep 17 00:00:00 2001 From: MatthewHana Date: Mon, 11 Mar 2024 17:13:37 +1100 Subject: [PATCH] Hide download button for Webcal collections --- radicale/web/internal_data/fn.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/radicale/web/internal_data/fn.js b/radicale/web/internal_data/fn.js index 04720295..4ced63dc 100644 --- a/radicale/web/internal_data/fn.js +++ b/radicale/web/internal_data/fn.js @@ -742,6 +742,9 @@ function CollectionsScene(user, password, collection, onerror) { let href = SERVER + collection.href; url_form.value = href; download_btn.href = href; + if(collection.type == CollectionType.WEBCAL){ + download_btn.parentElement.classList.add("hidden"); + } delete_btn.onclick = function() {return ondelete(collection);}; edit_btn.onclick = function() {return onedit(collection);}; node.classList.remove("hidden");