Index: /views/warenkorb/checkout.phtml
===================================================================
--- /views/warenkorb/checkout.phtml	(revision 7480)
+++ /views/warenkorb/checkout.phtml	(revision 7481)
@@ -9,7 +9,7 @@
 ?>	
 <script type="text/javascript">/* <![CDATA[ */
-
+	
 	jQuery(document).ready(function() {
-
+		
 		<?php if ($this->get_option('wpsg_form_validation') == '1') { ?>
 		
@@ -50,9 +50,25 @@
 		<?php } ?>
 
-		jQuery('.wpsg_checkout input').bind('keyup', function(e) {
-
-			if(e.keyCode == 13)
-		    {
-		        jQuery('#wpsg_checkout2button').click();
+		jQuery('.wpsg_checkout input').bind('keyup keypress', function(e) {
+
+			var jqThis = jQuery(this);
+			
+			// Enter lass ich direkt durch
+			if (jqThis.attr("type") === 'submit') return true;
+			
+			var keyCode = e.keyCode || e.which;
+			
+			if (keyCode == 13) {
+ 		    	
+				if (jqThis.parents('.wpsg_loginform').length > 0) {
+
+					jQuery('input[name="wpsg_mod_kundenverwaltung_login"]').click();
+					
+				} else {
+		        
+					jQuery('#wpsg_checkout2button').click();
+					
+				}
+				
 		    }
 		    
@@ -84,5 +100,7 @@
 
 		<?php /* Einbindung des Logins im Checkout */ ?>	
-		<?php $this->callMod('wpsg_mod_kundenverwaltung', 'checkout_login'); ?>
+		<div class="wpsg_loginform">
+			<?php $this->callMod('wpsg_mod_kundenverwaltung', 'checkout_login'); ?>
+		</div>
 	
 		<div class="wpsg_box" id="wpsg_box_kundendaten">
