aboutsummaryrefslogtreecommitdiffstats
path: root/phonegap/www/js/mobile.js
diff options
context:
space:
mode:
Diffstat (limited to 'phonegap/www/js/mobile.js')
-rw-r--r--phonegap/www/js/mobile.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/phonegap/www/js/mobile.js b/phonegap/www/js/mobile.js
index 73bb10e38..55fca3d76 100644
--- a/phonegap/www/js/mobile.js
+++ b/phonegap/www/js/mobile.js
@@ -197,6 +197,10 @@ function fileUploadFail() {
function postReport(e) {
e.preventDefault();
+
+ // the .stopImmediatePropogation call in invalidHandler should render this
+ // redundant but it doesn't seem to work so belt and braces :(
+ if ( !$('#map_form').valid() ) { return; }
var params = {
service: 'iphone',