dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36233
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18550: ER default range value bug fixed.
Merge authors:
Jan Henrik Øverland (janhenrik-overland)
------------------------------------------------------------
revno: 18550 [merge]
committer: Jan Henrik Overland <janhenrik.overland@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-03-10 11:25:29 +0100
message:
ER default range value bug fixed.
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/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-apps/src/main/webapp/dhis-web-event-reports/scripts/app.js'
--- dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/app.js 2015-03-05 17:32:21 +0000
+++ dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-event-reports/scripts/app.js 2015-03-10 10:22:55 +0000
@@ -398,6 +398,11 @@
this.pendingValue = null;
}
+
+ if (!this.getValue()) {
+ this.pendingValue = defaultRangeSetId;
+ this.setPendingValue();
+ }
},
store: Ext.create('Ext.data.Store', {
fields: [idProperty, nameProperty]