dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18470
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7797: (GIS) Boundary layer image export bug fixed.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 7797 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-07-31 22:49:53 +0200
message:
(GIS) Boundary layer image export bug fixed.
modified:
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js 2012-07-19 13:26:54 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/mapping/javascript/index.js 2012-07-31 20:47:10 +0000
@@ -791,7 +791,7 @@
if (boundaryLayer.visibility) {
if (boundary.formValidation.validateForm.call(boundary)) {
var str = document.getElementById(boundaryLayer.svgId).parentNode.innerHTML;
- svg = G.util.mergeSvg(svg, [str]);
+ svg = svg ? G.util.mergeSvg(svg, [str]) : str;
}
}