[Kimchi-devel] [PATCH] Bugfix#414: Cannot login by clicking on the login button

Wen Wang wenwang at linux.vnet.ibm.com
Wed Oct 8 09:57:49 UTC 2014


From: Wen Wang <wenwang at linux.vnet.ibm.com>

This patch fixes the bug that without moving the mouse, user cannot log
in kimchi by clicking on "Log in" button in Chrome as well as Opera.

Signed-off-by: Wen Wang <wenwang at linux.vnet.ibm.com>
---
 ui/js/src/kimchi.login.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ui/js/src/kimchi.login.js b/ui/js/src/kimchi.login.js
index cacfa65..19b8691 100644
--- a/ui/js/src/kimchi.login.js
+++ b/ui/js/src/kimchi.login.js
@@ -68,5 +68,5 @@ kimchi.login_main = function() {
         return false;
     };
 
-    $('#form-login').on('submit', login);
+    $('#btn-login').bind('click', login);
 };
-- 
1.7.1




More information about the Kimchi-devel mailing list