diff options
author | 2016-06-07 00:36:43 +0200 | |
---|---|---|
committer | 2016-06-07 10:17:30 +0200 | |
commit | c4441ddfd797a2a1eb68f582d98a2147af0d5440 (patch) | |
tree | 8409bf543324697836ffda5ca1307d5f11bd6946 /tools/infra-dashboard/index.php | |
parent | af427a992a96519c00ac9f98db8745f9fc1198fb (diff) |
Adaptations in the dashboard for the LF server
JIRA: RELENG-12
Removed DB information.
Change-Id: I7a307a6f4b416837c9e0376764aeee58e2631657
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'tools/infra-dashboard/index.php')
-rw-r--r-- | tools/infra-dashboard/index.php | 4 |
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 ) { |