diff options
author | Struan Donald <struan@exo.org.uk> | 2012-06-07 15:43:04 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-06-07 15:43:04 +0100 |
commit | 0bb6c6bbadeb5b8b988a91694301240c0fdf2f66 (patch) | |
tree | cae7b8c438caf73f5f07a6d2c8dba3bc2cbe91f5 /phonegap/www | |
parent | c79ead4f3ce6cbe1cc8ea1fd30c7c1e8525d7784 (diff) |
android emulator caches gets so add time to end to stop this
Diffstat (limited to 'phonegap/www')
-rw-r--r-- | phonegap/www/js/mobile.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phonegap/www/js/mobile.js b/phonegap/www/js/mobile.js index 0d939fe68..26480a1c6 100644 --- a/phonegap/www/js/mobile.js +++ b/phonegap/www/js/mobile.js @@ -339,7 +339,7 @@ function display_signed_out_msg() { function sign_out() { jQuery.ajax( { - url: CONFIG.FMS_URL + "auth/ajax/sign_out", + url: CONFIG.FMS_URL + "auth/ajax/sign_out?" + new Date().getTime(), type: 'GET', success: function(data) { if ( data.signed_out ) { @@ -353,7 +353,7 @@ function sign_out() { function sign_out_around() { jQuery.ajax( { - url: CONFIG.FMS_URL + "auth/ajax/sign_out", + url: CONFIG.FMS_URL + "auth/ajax/sign_out?" + new Date().getTime(), type: 'GET', success: function(data) { $('#user-meta').html(''); @@ -379,7 +379,7 @@ function check_auth() { sign_out_function = sign_out_around; } jQuery.ajax( { - url: CONFIG.FMS_URL + "auth/ajax/check_auth", + url: CONFIG.FMS_URL + "auth/ajax/check_auth?" + new Date().getTime() , type: 'GET', statusCode: { 200: function(data) { |