Index: bueditor.js
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/bueditor/bueditor.js,v
retrieving revision 1.18.2.2
diff -u -r1.18.2.2 bueditor.js
--- bueditor.js	29 May 2009 15:11:26 -0000	1.18.2.2
+++ bueditor.js	5 Jun 2009 23:29:14 -0000
@@ -13,6 +13,8 @@
       editor.processTextarea(T);
     }
   }
+  //fix enter key triggering button click on autocomplete fields.
+  $('input.form-autocomplete').keydown(function(e) {return e.keyCode != 13});
 }
 
 //create an editor instance

