dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #36697
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18774: Fixed bug - Program Indicator are not saved after unselected manually in Add/Update Program Stage...
------------------------------------------------------------
revno: 18774
committer: Tran Chau<tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2015-03-31 17:54:00 +0700
message:
Fixed bug - Program Indicator are not saved after unselected manually in Add/Update Program Stage Section.
modified:
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramStageSectionForm.vm
dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageSectionForm.vm
--
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-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramStageSectionForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramStageSectionForm.vm 2015-03-31 09:43:34 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/addProgramStageSectionForm.vm 2015-03-31 10:54:00 +0000
@@ -8,6 +8,7 @@
'beforeValidateHandler' : function()
{
selectAllById('dataElementIds');
+ selectAllById('selectedIndicators');
if(jQuery("#dataElementIds option").length > 0 ){
setFieldValue('dataElementList', 'true');
}
=== modified file 'dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageSectionForm.vm'
--- dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageSectionForm.vm 2015-03-31 09:43:34 +0000
+++ dhis-2/dhis-web/dhis-web-maintenance/dhis-web-maintenance-program/src/main/webapp/dhis-web-maintenance-program/updateProgramStageSectionForm.vm 2015-03-31 10:54:00 +0000
@@ -8,6 +8,7 @@
'beforeValidateHandler' : function()
{
selectAllById('dataElementIds');
+ selectAllById('selectedIndicators');
if(jQuery("#dataElementIds option").length > 0 ){
setFieldValue('dataElementList', 'true');
}