Changeset 61171 in spip-zone


Ignore:
Timestamp:
May 10, 2012, 9:38:17 AM (7 years ago)
Author:
kent1@…
Message:

les commentaires js "<!-- -->" avait tendance à créer des syntaxe error lors de chargement ajax des cartes, on les remplace par des CDATA

Location:
_plugins_/gis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/gis/branches/v2/modeles/carte_gis.html

    r59810 r61171  
    6060<div id="map[(#GET{id})]" class="carte_gis"[(#ENV{style}|!={'non'}|?{' '})style="[width:(#GET{width});][ height:(#GET{height});]"]></div>
    6161
    62 <script type="text/javascript">
    63 <!--
     62<script type="text/javascript">//<![CDATA[
    6463[(#CONFIG{gis/api}|=={cloudmade}|oui)
    6564var cloudmade_key = '#CONFIG{gis/api_key_cloudmade}';]
     
    169168
    170169})(jQuery);
    171 -->
     170// ]]>
    172171</script>
  • _plugins_/gis/trunk/modeles/carte_gis.html

    r60882 r61171  
    7373<div id="map[(#GET{id})]" class="carte_gis"[(#ENV{style}|!={'non'}|?{' '})style="[width:(#GET{width});][ height:(#GET{height});]"]></div>
    7474
    75 <script type="text/javascript">
    76 <!--
     75<script type="text/javascript">//<![CDATA[
    7776[(#CONFIG{gis/api}|=={cloudmade}|oui)
    7877var cloudmade_key = '#CONFIG{gis/api_key_cloudmade}';]
     
    201200
    202201})(jQuery);
    203 -->
     202// ]]>
    204203</script>
Note: See TracChangeset for help on using the changeset viewer.