source: spip-zone/_plugins_/facd/inclure/facd_info_conversion.html @ 63088

Last change on this file since 63088 was 63088, checked in by kent1@…, 9 years ago

On tente un timeout de click sur les liens pour rafraichir

File size: 977 bytes
Line 
1<BOUCLE_attente(FACD_CONVERSIONS){id_document}{statut IN en_cours,non}{!par maj}{0,1}>
2[(#STATUT|=={non}|oui)<a href="[(#SELF|parametre_url{relance,''}|parametre_url{hasard,[(#VAL{0}|rand{10000000000})]})]" id="facd_recharge_#ID_DOCUMENT" class="ajax" title="<:facd:lien_recharger:>"><:facd:info_document_dans_file_attente:></a>]
3[(#STATUT|=={en_cours}|oui)<a href="[(#SELF|parametre_url{relance,''}|parametre_url{hasard,[(#VAL{0}|rand{10000000000})]})]" id="facd_recharge_#ID_DOCUMENT" class="ajax" title="<:facd:lien_recharger:>"><:facd:info_document_conversion:></a>]
4<script type="text/javascript">
5        var refresh_#ID_DOCUMENT = function(){
6                $('#facd_recharge_#ID_DOCUMENT').click();
7        }
8        clearTimeout(refresh_#ID_DOCUMENT);
9        setTimeout(refresh_#ID_DOCUMENT,15000);
10</script>
11</BOUCLE_attente>
12<BOUCLE_erreur(FACD_CONVERSIONS){id_document}{statut IN erreur}{0,1}>
13[(#STATUT|=={erreur}|oui)<:facd:info_document_conversion_erreur:>]
14</BOUCLE_erreur>
15<//B_attente>
16#FILTRE{trim}
Note: See TracBrowser for help on using the repository browser.