dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #18368
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7719: Minor fix for patient registation.
------------------------------------------------------------
revno: 7719
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Thu 2012-07-26 16:48:36 +0700
message:
Minor fix for patient registation.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/selectPatient.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-caseentry/src/main/webapp/dhis-web-caseentry/selectPatient.vm'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/selectPatient.vm 2012-07-25 09:24:59 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/selectPatient.vm 2012-07-26 09:48:36 +0000
@@ -1,3 +1,16 @@
+<script>
+ jQuery(document).ready( function(){
+ #if($organisationUnit)
+ enable('listPatientBtn');
+ enable('addPatientBtn');
+ enable('advancedSearchBtn');
+ #else
+ disable('listPatientBtn');
+ disable('addPatientBtn');
+ disable('advancedSearchBtn');
+ #end
+ });
+</script>
<h3>$i18n.getString( "patient_management" ) #openHelp( "patient" )</h3>
<input type='hidden' id='isRegistration' name= 'isRegistration' value='false'>