------------------------------------------------------------
revno: 8172
committer: Tran Chau <[email protected]>
branch nick: dhis2
timestamp: Fri 2012-09-21 13:33:22 +0700
message:
  Remove the system-id of new patient in search criteria form after adding new 
person.
modified:
  
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.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/patient.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js	2012-09-21 04:26:48 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/patient.js	2012-09-21 06:33:22 +0000
@@ -283,12 +283,8 @@
       data: getParamsForDiv('patientForm'),
       success: function(json) {
 		var patientId = json.message.split('_')[0];
-		var systemIdentifierId = json.message.split('_')[1];
-		jQuery('#advSearchBox0 [id="searchText"]').val( systemIdentifierId );
-		statusSearching = 1;
-		
+		jQuery('#resultSearchDiv').dialog('close');
 		showPatientDashboardForm( patientId );
-		jQuery('#resultSearchDiv').dialog('close');
       }
      });
     return false;

_______________________________________________
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