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

From: Wen Wang <wenwang@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@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

Reviewed-by: Crístian Viana <vianac@linux.vnet.ibm.com> Tested-by: Crístian Viana <vianac@linux.vnet.ibm.com> On 08-10-2014 06:57, Wen Wang wrote:
From: Wen Wang <wenwang@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@linux.vnet.ibm.com>
participants (3)
-
Aline Manera
-
Crístian Viana
-
Wen Wang