From 1e49a65a2a930390cf00114cc30d8516626331c2 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 9 Nov 2020 12:36:04 +0100 Subject: Vintage theme: support async metadata retrieval --- tpl/vintage/editlink.html | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) (limited to 'tpl') diff --git a/tpl/vintage/editlink.html b/tpl/vintage/editlink.html index eb8807b5..343418bc 100644 --- a/tpl/vintage/editlink.html +++ b/tpl/vintage/editlink.html @@ -6,6 +6,7 @@ {if="$link.title==''"}onload="document.linkform.lf_title.focus();" {elseif="$link.description==''"}onload="document.linkform.lf_description.focus();" {else}onload="document.linkform.lf_tags.focus();"{/if} > +{$asyncLoadClass=$link_is_new && $async_metadata && empty($link.title) ? 'loading-input' : ''} {include="page.footer"} - +{if="$link_is_new && $async_metadata"}{/if} -- cgit v1.2.3