@@ -574,7 +574,7 @@ function autoComplete(autoCompleteTerms, callBack) {
574574 const ASCII_TAB = 9 ;
575575 const ASCII_RIGHT = 39 ;
576576 //console.log('new search: '+document.getElementById("new_search").value);
577- console . log ( 'key is ' + e . which ) ;
577+ // console.log('key is '+e.which);
578578 if ( ! ( e . which === ASCII_AMP || e . which === ASCII_RIGHT || e . which === ASCII_CR || e . which === ASCII_SPACE ) ) {
579579 // is up/down arrow or enter
580580 if ( ! subSearchString || subSearchString === "" ) {
@@ -585,7 +585,7 @@ function autoComplete(autoCompleteTerms, callBack) {
585585 lastSearchString = subSearchString ;
586586 showSearching ( ) ;
587587 var terms = autoCompleteTerms . buildSearch ( subSearchString ) ;
588- console . log ( terms ) ;
588+ // console.log(terms);
589589 onSpaceDone = false ; // allow the matched item to be added with a <sp>
590590 matches = autoCompleteTerms . search ( terms ) ;
591591 processResults ( terms ) ;
@@ -600,19 +600,19 @@ function autoComplete(autoCompleteTerms, callBack) {
600600
601601 } else {
602602 if ( e . which === ASCII_SPACE ) {
603- console . log ( 'Space' ) ;
603+ // console.log('Space');
604604 //onSpace();
605605 }
606606 if ( e . which === ASCII_CR ) {
607- console . log ( 'Done' ) ;
607+ // console.log('Done');
608608 hideDropDown ( ) ;
609609 showSearching ( "Searching..." ) ;
610610 spinner . spin ( target ) ;
611611 selectedCallBack ( input . node ( ) . value ) ;
612612 //searchTerms = [];
613613 }
614614 if ( e . which === ASCII_RIGHT ) {
615- console . log ( 'Right Arrow' ) ;
615+ // console.log('Right Arrow');
616616 onRIGHT ( ) ;
617617 }
618618 }
@@ -667,7 +667,7 @@ function autoComplete(autoCompleteTerms, callBack) {
667667 strng = strng [ 0 ] + "\"" + strng . substring ( 1 ) + "\"" ;
668668 offset = 2 ;
669669 }
670- console . log ( strng ) ;
670+ // console.log(strng);
671671
672672 if ( strPart ) {
673673 strPart = strPart [ 0 ] ;
@@ -753,7 +753,7 @@ function autoComplete(autoCompleteTerms, callBack) {
753753 }
754754
755755 function sButtonSelect ( ) {
756- console . log ( "sButton selected" ) ;
756+ // console.log("sButton selected");
757757 hideDropDown ( ) ;
758758 showSearching ( "Searching..." ) ;
759759 spinner . spin ( target ) ;
0 commit comments