← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 8160: Put completed program into completed program box after clicking on Complete program-stage button.

 

------------------------------------------------------------
revno: 8160
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-09-20 18:17:57 +0700
message:
  Put completed program into completed program box after clicking on Complete program-stage button.
modified:
  dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.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-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js	2012-09-20 04:13:44 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js	2012-09-20 11:17:57 +0000
@@ -576,7 +576,7 @@
 						hideById('programInstanceDiv');
 						hideById('entryFormContainer');
 						var completedRow = jQuery('#td_' + programInstanceId).html();
-						jQuery('#completedTB' ).prepend("<tr><td>" + completedRow + "</td></tr>");
+						jQuery('#completedList' ).append('<option value="' +  programInstanceId + '">' + getInnerHTML('infor_' + programInstanceId ) + '</option>');
 						hideById('tr1_' + programInstanceId );
 						hideById('tr2_' + programInstanceId );
 					}