aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-07-16 12:36:00 +0100
committerStruan Donald <struan@exo.org.uk>2013-07-16 12:36:00 +0100
commit97347b58f5b033fbed3c22109ed0d29812b7df08 (patch)
treec2e3cb04740e6fb7766e2fd1f12e8f81cea2f8d6 /src
parentcde2222efa4963d9f8458b7dba7b09e3b6b68046 (diff)
focus on something before we leave the details screen to try and dismiss the onscreen keyboard on android. Should fix #45
Diffstat (limited to 'src')
-rw-r--r--src/js/views/details.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/js/views/details.js b/src/js/views/details.js
index 90d1f76..a9692b9 100644
--- a/src/js/views/details.js
+++ b/src/js/views/details.js
@@ -47,6 +47,8 @@
onClickButtonNext: function(e) {
e.preventDefault();
+ // dismiss on screen keyboard
+ $('.ui-btn-right').focus();
this.clearValidationErrors();
var valid = 1;