dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #17743
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7186: Fixed bug: Cannot search relationship of patient.
------------------------------------------------------------
revno: 7186
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-06-05 13:33:23 +0700
message:
Fixed bug: Cannot search relationship of patient.
modified:
dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.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/commons.js'
--- dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js 2012-05-30 07:10:46 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/commons.js 2012-06-05 06:33:23 +0000
@@ -201,7 +201,7 @@
else if( $(this).attr('type') != 'button' )
{
var value = "";
- if( jQuery(this).val() != '' )
+ if( jQuery(this).val()!= null && jQuery(this).val() != '' )
{
value = htmlEncode(jQuery(this).val());
}