simplify parameters handling in authentication modules
[coquelicot.git] / public / javascripts / coquelicot.auth.imap.js
1 function authenticationData(){
2         return {
3                 imap_user: $('#imap_user').val(),
4                 imap_password: $('#imap_password').val()
5         };
6 }
7
8 function authenticationFocus(){
9         $('#imap_user').focus();
10 }
11
12 function authenticationReset() {
13         $('#imap_user').val('');
14         $('#imap_password').val('');
15 }