Ticket #493: markertext_ie.patch
| File markertext_ie.patch, 1.1 kB (added by openlayers, 2 years ago) |
|---|
-
Text.js
old new 99 99 } else if (columns[valIndex] == 'title') { 100 100 title = vals[valIndex]; 101 101 } else if (columns[valIndex] == 'description') { 102 description= vals[valIndex];102 markerdesc = vals[valIndex]; 103 103 } 104 104 } 105 105 } … … 120 120 } 121 121 122 122 } 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>'; 125 125 } 126 126 var feature = new OpenLayers.Feature(this, location, data); 127 127 this.features.push(feature);
