dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #01880
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 597: (GIS) Auto-assign organisation units functionality improved.
------------------------------------------------------------
revno: 597
committer: Jan Henrik Overland janhenrik.overland@xxxxxxxxx
branch nick: trunk
timestamp: Sun 2009-09-06 00:03:36 +0700
message:
(GIS) Auto-assign organisation units functionality improved.
modified:
dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/mapping/script/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/mapping/script/index.js'
--- dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/mapping/script/index.js 2009-09-05 11:48:08 +0000
+++ dhis-2/dhis-web/dhis-web-mapping/src/main/webapp/mapping/script/index.js 2009-09-05 17:03:36 +0000
@@ -2503,11 +2503,9 @@
count_match++;
var organisationUnitId = organisationUnits[i].id;
- var organisationUnit = organisationUnits[i].name;
var featureId = features[j].attributes[uniqueColumn];
- var featureName = features[j].attributes[nameColumn];
- relations += organisationUnitId + '-' + featureId + ',';
+ relations += organisationUnitId + '::' + featureId + ';;';
}
}
}