aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/app.js
Commit message (Collapse)AuthorAgeLines
* Force saving of draft if removing a photoStruan Donald2013-08-07-2/+2
| | | | | | | | Becuase we don't save drafts that are only a location once you remove the photo from a report that only has a location and a photo that change isn't saved as it becomes a report with only a location hence add a force option so saveCurrentDrafts and use it when removing a photo. Fixes #86
* resize loading screen to remove brown bar at bottom on Android 2Struan Donald2013-08-06-0/+1
|
* remove debug codeStruan Donald2013-08-02-2/+0
|
* detect and store iPhone model version on startupStruan Donald2013-08-01-0/+6
|
* make template language a config optionStruan Donald2013-07-30-1/+1
|
* pass in back button event from handlerStruan Donald2013-07-29-1/+1
| | | | | | | | This is so that the onClickButtonPrev method we eventually pass to requires an event so without having this we were breaking this and causing the back button to do nothing. Fixes #68.
* Pause and restart position updating on app pause and resume to stop ↵Struan Donald2013-07-22-2/+10
| | | | backgroud GPS tracking on Android. Fixes #61
* If we have a net connection when we resume then set app to onlineStruan Donald2013-07-19-0/+2
| | | | | mode otherwise it gets stuck in offline mode if it was there before the pause
* set flag on startup to use in checking for AndroidStruan Donald2013-07-16-0/+2
|
* display splash screen on androidStruan Donald2013-07-15-0/+3
|
* instead of using js to inject the correct cordova js file in toStruan Donald2013-07-12-0/+209
index.html restructure things so that the common files are a level down and the platofrm specific ones are directly placed in the relevant project. This both makes for less fuss and also avoids the error with Android < v3 instantiating cordova twice. Note that the iOS common assets are included by a build script rather than a symlink as symlinking doesn't seem to agree with Xcode