Changeset 50135 in spip-zone


Ignore:
Timestamp:
Jul 31, 2011, 6:32:36 PM (10 years ago)
Author:
webmaster@…
Message:

Pour IE, il faut text/javascript et NON application/javascript.

Location:
_plugins_/open_layers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/open_layers/inc/openlayer_public_script_init.php

    r49194 r50135  
    1414
    1515function inc_openlayer_public_script_init_dist(){
    16         $out = '<script type="application/javascript" src="'.generer_url_public('openlayer.js').'"></script>';
     16        $out = '<script type="text/javascript" src="'.generer_url_public('openlayer.js').'"></script>';
    1717        return $out;
    1818}
  • _plugins_/open_layers/inc/openlayer_script_init.php

    r49194 r50135  
    1515        static $deja_insere = false;
    1616        if ($deja_insere) return "";
    17         $out = '<script type="application/javascript" src="'.generer_url_public('openlayer.js').'"></script>';
     17        $out = '<script type="text/javascript" src="'.generer_url_public('openlayer.js').'"></script>';
    1818        return $out;
    1919}
  • _plugins_/open_layers/openlayer_pipeline.php

    r49194 r50135  
    1111
    1212function openlayer_insert_head_prive($flux){
    13   $flux .= '<script type="application/javascript" src="'.generer_url_public('openlayer.js').'"></script>';
     13  $flux .= '<script type="text/javascript" src="'.generer_url_public('openlayer.js').'"></script>';
    1414        return $flux;
    1515}
    1616
    1717function openlayer_insert_head($flux){
    18         $flux .= '<script type="application/javascript" src="'.generer_url_public('openlayer.js').'"></script>';
     18        $flux .= '<script type="text/javascript" src="'.generer_url_public('openlayer.js').'"></script>';
    1919        return $flux;
    2020}
Note: See TracChangeset for help on using the changeset viewer.