fix 500 provide vnfr:vnfd-id with vnfd:_id
[osm/NBI.git] / osm_nbi / html_public / login.js
1 var login_form = document.getElementById('login_form');
2 var f_user = document.getElementById('f_user');
3 var f_pass = document.getElementById('f_pass');
4 f_user.onkeydown = function(e) {
5 if (e.keyCode == 13) {
6 f_pass.focus();
7 return false;
8 }
9 }
10 f_pass.onkeydown = function(e) {
11 if (e.keyCode == 13) {
12 login_form.submit();
13 return false;
14 }
15 }
16 f_user.focus();
17