dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #27899
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 13898: GIS, minor fixes.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 13898 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2014-01-30 15:13:55 +0100
message:
GIS, minor fixes.
modified:
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/core.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 2014-01-30 11:59:43 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/app.js 2014-01-30 14:13:24 +0000
@@ -576,7 +576,7 @@
fields: ['id', 'name'],
proxy: {
type: 'ajax',
- url: init.contextPath + conf.finals.url.path_api + conf.finals.url.organisationunitgroup_getall,
+ url: init.contextPath + '/api/organisationUnitGroups.json?paging=false&links=false',
reader: {
type: 'json',
root: 'organisationUnitGroups'
@@ -6633,7 +6633,7 @@
fields: ['id', 'name'],
proxy: {
type: 'ajax',
- url: gis.init.contextPath + gis.conf.finals.url.path_api + gis.conf.finals.url.dataset_get,
+ url: gis.init.contextPath + '/api/dataSets.json?paging=false&links=false',
reader: {
type: 'json',
root: 'dataSets'
=== modified file 'dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js 2014-01-30 14:06:53 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/dhis-web-mapping/app/scripts/core.js 2014-01-30 14:13:24 +0000
@@ -2078,10 +2078,7 @@
url: {
path_api: '/api/',
path_module: '/dhis-web-mapping/',
- path_commons: '/dhis-web-commons-ajax-json/',
- organisationunitchildren_get: 'getOrganisationUnitChildren.action',
- organisationunitgroup_getall: 'organisationUnitGroups.json?paging=false&links=false',
- dataset_get: 'dataSets.json?paging=false&links=false'
+ path_commons: '/dhis-web-commons-ajax-json/'
},
layer: {
type_base: 'base',