------------------------------------------------------------
revno: 8017
committer: Tran Chau <[email protected]>
branch nick: dhis2
timestamp: Fri 2012-09-07 16:29:32 +0700
message:
  Minor fix.
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-07 07:57:47 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js	2012-09-07 09:29:32 +0000
@@ -574,17 +574,16 @@
 						selectedProgram.remove();
 						hideById('programInstanceDiv');
 						hideById('entryFormContainer');
+						var completedRow = jQuery('#td_' + programInstanceId).html();
+						jQuery('#completedTB' ).prepend("<tr><td>" + completedRow + "</td></tr>");
+						hideById('tr1_' + programInstanceId );
+						hideById('tr2_' + programInstanceId );
 					}
 					
 					selection.enable();
 					hideLoader();
 					hideById('contentDiv');
 					
-					var completedRow = jQuery('#td_' + programInstanceId).html();
-					jQuery('#completedTB' ).prepend("<tr><td>" + completedRow + "</td></tr>");
-					hideById('tr1_' + programInstanceId );
-					hideById('tr2_' + programInstanceId );
-					jQuery('#img_' + programInstanceId).attr('src','');					
 					
 					if( isCreateEvent )
 					{

_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to