Merge authors:
Jan Henrik Ă˜verland (janhenrik-overland)
------------------------------------------------------------
revno: 10474 [merge]
committer: Jan Henrik Overland <[email protected]>
branch nick: dhis2
timestamp: Thu 2013-04-04 11:28:31 +0200
message:
(DV) Relative period bug fixed.
modified:
dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/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-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js 2013-03-21 11:45:40 +0000
+++ dhis-2/dhis-web/dhis-web-visualizer/src/main/webapp/dhis-web-visualizer/app/scripts/app.js 2013-04-04 09:24:59 +0000
@@ -586,7 +586,7 @@
var a = [],
count = 0;
for (var key in rp) {
- if (rp[key]) {
+ if (rp[key] && Ext.isNumber(DV.conf.period.relativePeriods[key])) {
count += DV.conf.period.relativePeriods[key];
}
}
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp