OpenLayers OpenLayers

Ticket #493: markertext_ie.patch

File markertext_ie.patch, 1.1 kB (added by openlayers, 2 years ago)
  • Text.js

    old new  
    9999                            } else if (columns[valIndex] == 'title') { 
    100100                                title = vals[valIndex]; 
    101101                            } else if (columns[valIndex] == 'description') { 
    102                                 description = vals[valIndex]; 
     102                                markerdesc = vals[valIndex]; 
    103103                            } 
    104104                        } 
    105105                    } 
     
    120120                          } 
    121121                         
    122122                      } 
    123                       if ((title != null) && (description != null)) { 
    124                           data['popupContentHTML'] = '<h4>'+title+'</h4><p>'+description+'</p>'; 
     123                      if ((title != null) && (markerdesc != null)) { 
     124                          data['popupContentHTML'] = '<h4>'+title+'</h4><p>'+markerdesc+'</p>'; 
    125125                      } 
    126126                      var feature = new OpenLayers.Feature(this, location, data); 
    127127                      this.features.push(feature);