summaryrefslogtreecommitdiffstats
path: root/tools/infra-dashboard/index.php
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-07-14 07:36:47 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-14 07:36:47 +0000
commitdd0f5a83b266340ddd72d500a8318b8076d15a93 (patch)
treed710e2346c68a01ddbf2832e11bcbd2b38930b45 /tools/infra-dashboard/index.php
parenta344d3aa43718929270249be73dfb2e0f4311a71 (diff)
parentc4441ddfd797a2a1eb68f582d98a2147af0d5440 (diff)
Merge "Adaptations in the dashboard for the LF server"
Diffstat (limited to 'tools/infra-dashboard/index.php')
-rw-r--r--tools/infra-dashboard/index.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/infra-dashboard/index.php b/tools/infra-dashboard/index.php
index 56c765a9..afd18b98 100644
--- a/tools/infra-dashboard/index.php
+++ b/tools/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 ) {