Changeset 63088 in spip-zone for _plugins_/facd


Ignore:
Timestamp:
Jun 29, 2012, 7:12:39 AM (9 years ago)
Author:
kent1@…
Message:

On tente un timeout de click sur les liens pour rafraichir

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/facd/inclure/facd_info_conversion.html

    r63076 r63088  
    22[(#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>]
    33[(#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>
    411</BOUCLE_attente>
    512<BOUCLE_erreur(FACD_CONVERSIONS){id_document}{statut IN erreur}{0,1}>
Note: See TracChangeset for help on using the changeset viewer.