← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 12618: Minor fix for unblock entry form after completed

 

------------------------------------------------------------
revno: 12618
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2013-10-14 08:22:01 +0700
message:
  Minor fix for unblock entry form after completed
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	2013-10-14 01:18:38 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js	2013-10-14 01:22:01 +0000
@@ -690,6 +690,7 @@
 {
 	jQuery("#entryFormContainer :input").each(function()
 	{
+		disable($(this).attr('id'));
 		$(this).attr('disabled','disabled');
 	});
 	jQuery("#entryFormContainer").find(".ui-combobox").each(function()
@@ -710,6 +711,7 @@
 	jQuery("#entryFormContainer :input").each(function()
 	{
 		enable($(this).attr('id'));
+		$(this).attr('disabled',false);
 	});
 	jQuery("#entryFormContainer").find(".ui-combobox").each(function()
 	{