[Pkg-osm-commits] [SCM] openlayers branch, master, updated. debian/2.11+ds1-1-5-g2133cae
Jonas Smedegaard
dr at jones.dk
Sun Oct 9 11:19:21 UTC 2011
The following commit has been merged in the master branch:
commit f0dc15ae7e62a163b8df797e2a69a21e99f87532
Author: Jonas Smedegaard <dr at jones.dk>
Date: Sun Oct 9 13:11:29 2011 +0200
Fix typo in patch.
diff --git a/debian/patches/improved-GeoRSS-parsing.patch b/debian/patches/improved-GeoRSS-parsing.patch
index 909709f..4fa1e16 100644
--- a/debian/patches/improved-GeoRSS-parsing.patch
+++ b/debian/patches/improved-GeoRSS-parsing.patch
@@ -6,13 +6,14 @@ Last-Update: 2011-10-09
--- a/lib/OpenLayers/Layer/GeoRSS.js
+++ b/lib/OpenLayers/Layer/GeoRSS.js
-@@ -145,7 +145,9 @@
+@@ -145,7 +145,10 @@
name = doc.getElementsByTagNameNS('*', 'title')[0].firstChild.nodeValue;
}
catch (e) {
- name = doc.getElementsByTagName('title')[0].firstChild.nodeValue;
+ try {
+ name = doc.getElementsByTagName('title')[0].firstChild.nodeValue;
++ }
+ catch (e) {}
}
if (name) {
--
JavaScript library for displaying map data in web browsers
More information about the Pkg-osm-commits
mailing list