From: Thomas Gries Date: Mon, 13 Jun 2011 09:56:54 +0000 (+0000) Subject: essage=corrected my mistake when comparing if textbox length is empty, or not. X-Git-Tag: 1.31.0-rc.0~29558 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=4aea64b95c261332bac2e3c49f1de81ed4e7831c;p=lhc%2Fweb%2Fwiklou.git essage=corrected my mistake when comparing if textbox length is empty, or not. --- diff --git a/resources/jquery/jquery.suggestions.js b/resources/jquery/jquery.suggestions.js index 8b0da23e5e..4c23b19616 100644 --- a/resources/jquery/jquery.suggestions.js +++ b/resources/jquery/jquery.suggestions.js @@ -82,7 +82,7 @@ $.suggestions = { } // clear result div if the value in the textbox is empty - if ( context.data.$textbox.val().length != 0 ) { + if ( context.data.$textbox.val().length == 0 ) { context.data.$container.hide(); }