~group15-geo/dhis2-academy/group15-geolocation

« back to all changes in this revision

Viewing changes to group15-android/assets/www/js/login.js

  • Committer: erlinfj at uio
  • Date: 2013-12-06 18:33:12 UTC
  • Revision ID: erlinfj@ulrik.uio.no-20131206183312-myb6f011ezqi9abd
Added the newest design

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
    login();
10
10
});
11
11
 
12
 
 
 
12
function storeLoginCredentials(){
 
13
  
 
14
// set cookies to expire in 14 days
 
15
    $.cookie('username', username, { expires: 14 });
 
16
    $.cookie('password', password, { expires: 14 });
 
17
}
13
18
 
14
19
function login(){
15
20