Changeset 52028 in spip-zone


Ignore:
Timestamp:
Sep 29, 2011, 12:55:51 PM (8 years ago)
Author:
kent1@…
Message:

On ne recharge le bloc que si on a des encodages en cours

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/spipmotion/prive/spipmotion/file_attente.html

    r51237 r52028  
    6161<p><:spipmotion:info_aucun_resultat_attente:></p>
    6262<//B_spipmotion_file>
     63<div class="actions">
    6364<a href="[(#SELF|parametre_url{relance,''}|parametre_url{hasard,[(#VAL{0}|rand{10000000000})]})]" id="spipmotion_recharge_file" class="ajax"><:spipmotion:lien_recharger:></a>
     65</div>
    6466<script type="text/javascript">
    6567        var refresh = function(){
    66                 $('#spipmotion_recharge_file').click();
     68                if($('#spipmotion_file tbody tr').size() > 0){
     69                        $('#spipmotion_recharge_file').click();
     70                }
    6771        }
    6872        setTimeout(refresh,30000);
Note: See TracChangeset for help on using the changeset viewer.