diff options
author | Struan Donald <struan@exo.org.uk> | 2012-11-16 16:58:02 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-11-16 16:58:02 +0000 |
commit | eebc8bd441817c34521f00ad6aafb6c6832f5839 (patch) | |
tree | 382fd8235d364ab571dedc41e503b2a028c074d8 /www/js/mobile.js | |
parent | 963cc0be63cf876a032ee09329ad7db0dbd17343 (diff) |
show loading screen a bit earlier for locate and report posting
Diffstat (limited to 'www/js/mobile.js')
-rw-r--r-- | www/js/mobile.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/mobile.js b/www/js/mobile.js index 21d7a30..e7d04cf 100644 --- a/www/js/mobile.js +++ b/www/js/mobile.js @@ -304,6 +304,7 @@ function fileUploadFail() { var submit_clicked = null; function postReport(e) { + $.mobile.loading( 'show' ); if ( e ) { e.preventDefault(); } @@ -688,6 +689,7 @@ function submit_problem_show() { function decide_front_page() { + $.mobile.loading( 'show' ); if ( !can_geolocate ) { window.setTimeout( decide_front_page, 100 ); return; |