Commit f59f39f5 authored by rwa's avatar rwa Committed by Jérôme Jutteau

fix elementid for expiration date

parent 3d173b4f
Pipeline #8000847 passed with stage
in 1 minute and 33 seconds
......@@ -154,14 +154,14 @@ function show_link (url, reference, delete_code, crypt_key, date)
// Validity date
if (isEmpty(date))
{
document.getElementById('validity').style.display = 'none';
document.getElementById('date').style.display = 'none';
}
else {
document.getElementById('date').innerHTML = '<span class="datetime" title="'
+ dateToUtcString(date) + ' (GMT)">'
+ date.format('YYYY-MM-DD hh:mm (GMT O)')
+ '</span>';
document.getElementById('validity').style.display = '';
document.getElementById('date').style.display = '';
}
// Preview link (if allowed)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment