aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/views/fms.js
Commit message (Collapse)AuthorAgeLines
* update Android to Cordova 3.6Struan Donald2015-08-28-117/+0
| | | | | | | | Required due to security issue Remove Android directory as no longer required, move src -> www to match standard layout, update .gitignore to avoid including the standard platform files, update README based on Steve's zurich one
* Fix help visibility check for back button handlerStruan Donald2014-06-03-1/+1
| | | | | | | The help screen is actually always visible so this was preventing the back button exiting the app on the home screen on Android. Fixes #162
* If help is visible then the back button hides itStruan Donald2014-01-09-1/+3
| | | | Fixes #158
* Allow details screen to scroll on AndroidStruan Donald2013-09-11-1/+5
| | | | | | | | | | | | | | | | | | | | | This fixes #113 in that it means the user can move the screen to see what fields are available. Previously this was prevented by setting the adjustPan mode for the soft input mode which had fixed a bug with the keyboard not dismissing on transition. This has been resolved by adding a plugin for Android to control display of the soft keyboard and hiding the keyboard before navigation in the navigate method of FMSView. Sadly this then meant that the screen size was being measured *before* the keyboard was dismissed with the result that the screen transitioned too was incorrectly displayed. This was resolved by taking the screen height on start up, storing that as a property of the FMS global object and then using this property instead of measuring the screen size at the time of transition. The map has also been expanded to fill the whole screen rather than stopping at the bottom of the navigation bar as on Android when you scroll the screen the map does not scroll and the gap at the top was visible.
* Make dubug output conditional on a debug flagStruan Donald2013-08-23-2/+2
| | | | | Replace console.log call to a wrapper function that only outputs if we've set a flag in config.
* Correctly handle back button on start screensStruan Donald2013-08-23-0/+8
| | | | | | | | On the inital screens the android back button should quit the app, or if on the map screen and you've started a report it should cancel it. Add in a default back method to FMSView and an override method for the map, exising report and offline screens Fixes #117
* change to use phonegap API alert call so we can use a title inStruan Donald2013-07-23-2/+2
| | | | | the alert box and then use own internal function to call this to ensure consistency
* instead of using js to inject the correct cordova js file in toStruan Donald2013-07-12-0/+103
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