← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 2334: Fix bug: After clicking Completed button into data entry form, it is still possible to re-enter c...

 

------------------------------------------------------------
revno: 2334
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: trunk
timestamp: Fri 2010-10-08 14:32:01 +0700
message:
  Fix bug: After clicking Completed button into data entry form, it is still possible to re-enter comments.
modified:
  dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.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-dataentry/src/main/webapp/dhis-web-dataentry/form.vm'
--- dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm	2010-10-05 06:53:19 +0000
+++ dhis-2/dhis-web/dhis-web-dataentry/src/main/webapp/dhis-web-dataentry/form.vm	2010-10-08 07:32:01 +0000
@@ -211,9 +211,13 @@
 			var inputList = entryform.getElementsByTagName('input');
 			for(var i=0;i<inputList.length;i++){
 				var input = inputList[i];
-				
 					input.disabled = disabled;
-				
+			}	
+			
+			var selectList = entryform.getElementsByTagName('select');
+			for(var i=0;i< selectList.length;i++){
+				var select =  selectList[i];
+					select.disabled = disabled;
 			}	
 		}		
 	


Follow ups