Update UI in share Model Remove Views instead use Delete after view and set long expiration dates and chnage them to a radio buttons instead of select

This commit is contained in:
johnnyq
2024-12-06 14:11:51 -05:00
parent 22f5bdb1c0
commit 6ae18dbc43
3 changed files with 38 additions and 37 deletions

View File

@@ -28,7 +28,7 @@ function generateShareLink() {
let item_ref_id = document.getElementById("share_item_ref_id").value;
let item_note = document.getElementById("share_note").value;
let item_views = document.getElementById("share_views").value;
let item_expires = document.getElementById("share_expires").value;
let item_expires = document.querySelector('input[name="expires"]:checked').value;
let contact_email = document.getElementById("share_email").value;
// Check values are provided