=== 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-06-27 07:34:44 +0000 +++ dhis-2/dhis-web/dhis-web-caseentry/src/main/webapp/dhis-web-caseentry/javascript/entry.js 2012-06-28 07:56:22 +0000 @@ -821,7 +821,7 @@ function autocompletedField( idField ) { - var input = jQuery( "#" + idField ) + var input = jQuery( "#" + idField ); var dataElementId = input.attr('id').split('-')[1]; input.autocomplete({ @@ -859,13 +859,14 @@ return false; } } - }, - blur: function( event, ui ){ - input.autocomplete( "close" ); } }) .addClass( "ui-widget" ); + input.blur(function(){ + input.autocomplete( "close" ); + }); + var button = $( "" ) .attr( "tabIndex", -1 ) .attr( "title", i18n_show_all_items )