← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 7493: Cosmetic code.

 

------------------------------------------------------------
revno: 7493
committer: Tran Chau <tran.hispvietnam@xxxxxxxxx>
branch nick: dhis2
timestamp: Tue 2012-07-03 05:02:12 +0100
message:
  Cosmetic code.
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	2012-07-03 03:30:21 +0000
+++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js	2012-07-03 04:02:12 +0000
@@ -819,7 +819,6 @@
 				var matcher = new RegExp( "^" + $.ui.autocomplete.escapeRegex( $(this).val() ) + "$", "i" ),
 					valid = false;
 				if ( !valid ) {
-					// remove invalid value, as it didn't match anything
 					$( this ).val( "" );
 					saveVal( dataElementId );
 					input.data( "autocomplete" ).term = "";
@@ -829,7 +828,7 @@
 		}
 	})
 	.addClass( "ui-widget" );
-	
+			
 	input.blur(function(){
 		input.autocomplete( "close" );
 	});