aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/views/fms.js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-07-23 13:15:44 +0100
committerStruan Donald <struan@exo.org.uk>2013-07-23 13:15:44 +0100
commit05ec13abf0c4f40e2fb89f6b78a2e11a732f3bbf (patch)
tree6d695194baa338a3703c6533a6733823d5cd6c2c /src/js/views/fms.js
parent824d64b179b3c49370d571b71f498eef7ed990d5 (diff)
change to use phonegap API alert call so we can use a title in
the alert box and then use own internal function to call this to ensure consistency
Diffstat (limited to 'src/js/views/fms.js')
-rw-r--r--src/js/views/fms.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/views/fms.js b/src/js/views/fms.js
index 53cdc66..f60bf77 100644
--- a/src/js/views/fms.js
+++ b/src/js/views/fms.js
@@ -75,8 +75,8 @@
this.navigate( this.next );
},
- displayError: function(msg) {
- alert(msg);
+ displayAlert: function(msg) {
+ navigator.notification.alert(msg, null, CONFIG.APP_NAME);
},
validationError: function( id, error ) {