dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #32585
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 16618: Data entry, fixed wrong period variable test
------------------------------------------------------------
revno: 16618
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2014-09-02 15:50:45 -0400
message:
Data entry, fixed wrong period variable test
modified:
dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.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-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2014-09-02 19:37:55 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/javascript/form.js 2014-09-02 19:50:45 +0000
@@ -1205,7 +1205,7 @@
var options = dhis2.de.getCurrentCategoryOptions();
- if ( !dhis2.de.currentCategories || dhis2.de.currentCategories.length == 0 || period.iso == "" ) {
+ if ( !dhis2.de.currentCategories || dhis2.de.currentCategories.length == 0 || !period ) {
return html;
}