dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27080
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13431: gis, minor svg request url fix
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 13431 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2013-12-26 00:04:13 +0100
message:
gis, minor svg request url fix
modified:
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.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/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2013-12-25 07:52:15 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2013-12-25 23:03:08 +0000
@@ -3749,8 +3749,7 @@
document.getElementById('filenameField').value = title;
document.getElementById('svgField').value = svg;
- exportForm.action = '../../api/svg.' + type;
- exportForm.method = 'post';
+ exportForm.action = gis.init.contextPath + '/api/svg.' + type;
exportForm.submit();
window.destroy();