From 7ad4b9ee5b4b4ca4d8d6f08a47823f23ab1b17c0 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Tue, 7 Jun 2016 00:36:43 +0200 Subject: Adaptations in the dashboard for the LF server JIRA: RELENG-12 Removed DB information. Change-Id: I7a307a6f4b416837c9e0376764aeee58e2631657 Signed-off-by: jose.lausuch --- infra-dashboard/index.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'infra-dashboard/index.php') diff --git a/infra-dashboard/index.php b/infra-dashboard/index.php index 56c765a..afd18b9 100644 --- a/infra-dashboard/index.php +++ b/infra-dashboard/index.php @@ -98,7 +98,9 @@ $(function() { var dialog, form, - allFields = $( [] ).add( login_email ).add( login_password ); + login_email = $( "#login_email" ), + login_password = $( "#login_password" ), + allFields = $( [] ).add( login_email ).add( login_password ), emailRegex = /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/; function checkLength( o, n, min, max ) { -- cgit 1.2.3-korg