dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #37108
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18976: Minor fix
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 18976 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Wed 2015-04-22 11:13:17 +0200
message:
Minor fix
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-visualizer/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-apps/src/main/webapp/dhis-web-visualizer/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-visualizer/scripts/core.js 2015-04-16 22:30:22 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-visualizer/scripts/core.js 2015-04-22 09:10:45 +0000
@@ -1370,6 +1370,10 @@
support.prototype.number.prettyPrint = function(number, separator) {
separator = separator || 'space';
+ if (!number) {
+ return;
+ }
+
if (separator === 'none') {
return number;
}