Changeset 82457 in spip-zone


Ignore:
Timestamp:
May 16, 2014, 3:27:27 PM (5 years ago)
Author:
marcimat@…
Message:

Coquille : recharger la page en mode permettant de continuer l'indexation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/indexer/trunk/prive/squelettes/contenu/indexer.html

    r82455 r82457  
    3131
    3232    if (!$res) {
    33         echo "\n<br/><a href='#SELF'>Recharger la page pour continuer l'indexation</a>";
    34         echo "<script type='text/javascript'>window.location.reload();</script>";
     33        echo "\n<br/><a id='recharger' href='[(#SELF|parametre_url{run,''}|parametre_url{continue,1})]'>Recharger la page pour continuer l'indexation</a>";
     34        echo "<script type='text/javascript'>window.location.replace( $('#recharger').attr('href') );</script>";
    3535    } else {
    3636        echo "\n<pre>"; print_r($res); echo "</pre>";
Note: See TracChangeset for help on using the changeset viewer.