dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #33215
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16949: PT subvalue issue fixed.
------------------------------------------------------------
revno: 16949
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2014-10-03 13:47:09 +0200
message:
PT subvalue issue fixed.
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/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-pivot/scripts/core.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/core.js 2014-09-26 11:35:58 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-pivot/scripts/core.js 2014-10-03 11:47:09 +0000
@@ -1834,7 +1834,8 @@
// - parsefloat(string) is not a number
// - string is just starting with a number
// - string is a valid date
- if (!Ext.isNumber(n) || n != str || new Date(str).toString() !== 'Invalid Date') {
+ //if (!Ext.isNumber(n) || n != str || new Date(str).toString() !== 'Invalid Date') {
+ if (!Ext.isNumber(n) || n != str) {
return 0;
}
@@ -2106,7 +2107,8 @@
return str;
}
- if (!Ext.isNumber(n) || n != str || new Date(str).toString() !== 'Invalid Date') {
+ //if (!Ext.isNumber(n) || n != str || new Date(str).toString() !== 'Invalid Date') {
+ if (!Ext.isNumber(n) || n != str) {
return str;
}