Changeset 48688 in spip-zone for _plugins_/preprod


Ignore:
Timestamp:
Jun 10, 2011, 1:50:13 PM (10 years ago)
Author:
n.pavot@…
Message:

fix js : découpage 2è classe incomplet

Location:
_plugins_/preprod
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/preprod/plugin.xml

    r48499 r48688  
    22
    33        <nom>Pr&eacute;-prod</nom>
    4         <version>1.0</version>
     4        <version>1.1</version>
    55
    66        <prefix>preprod</prefix>
  • _plugins_/preprod/preprod.js.html

    r48499 r48688  
    99    if (2==bcArray.length)
    1010    {
    11         var aSommaire = bcArray[1].split("_");
    12         pageSommaire = aSommaire[1];
     11        var sClasse2 = bcArray[1];
     12        pageSommaire = sClasse2.substring(5, sClasse2.length) ;
    1313    }
    1414    $("#page").before( "<div id=\'preprod\' class=\'jour\'></div>" );
Note: See TracChangeset for help on using the changeset viewer.