diff options
Diffstat (limited to 'www/js')
-rw-r--r-- | www/js/models/report.js | 3 | ||||
-rw-r--r-- | www/js/views/around.js | 2 | ||||
-rw-r--r-- | www/js/views/search.js | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/www/js/models/report.js b/www/js/models/report.js index 5d03e8e..f98c072 100644 --- a/www/js/models/report.js +++ b/www/js/models/report.js @@ -80,7 +80,6 @@ var that = this; if ( model.get('file') && model.get('file') !== '' ) { var fileUploadSuccess = function(r) { - $('#ajaxOverlay').hide(); if ( r.response ) { var data; try { @@ -96,7 +95,6 @@ }; var fileUploadFail = function() { - $('#ajaxOverlay').hide(); that.trigger('error', that, FMS.strings.report_send_error, options); }; @@ -109,7 +107,6 @@ fileOptions.params = params; fileOptions.chunkedMode = false; - $('#ajaxOverlay').show(); var ft = new FileTransfer(); ft.upload(fileURI, CONFIG.FMS_URL + "report/new/mobile", fileUploadSuccess, fileUploadFail, fileOptions); } else { diff --git a/www/js/views/around.js b/www/js/views/around.js index 3c2c2d1..454f427 100644 --- a/www/js/views/around.js +++ b/www/js/views/around.js @@ -36,7 +36,6 @@ this.located = true; this.locateCount = 21; - $('#ajaxOverlay').hide(); var coords = info.coordinates; fixmystreet.latitude = coords.latitude; @@ -90,7 +89,6 @@ failedLocation: function( details ) { this.finishedLocating(); this.locateCount = 21; - $('#ajaxOverlay').hide(); if ( details.msg ) { FMS.searchMessage = details.msg; } else { diff --git a/www/js/views/search.js b/www/js/views/search.js index 41c8031..1fa3e38 100644 --- a/www/js/views/search.js +++ b/www/js/views/search.js @@ -23,7 +23,6 @@ this.listenTo(FMS.locator, 'search_located', this.searchSuccess ); this.listenTo(FMS.locator, 'search_failed', this.searchFail); - $('#ajaxOverlay').show(); FMS.locator.lookup(pc); }, @@ -45,7 +44,6 @@ searchFail: function( details ) { this.stopListening(FMS.locator); - $('#ajaxOverlay').hide(); if ( details.msg ) { this.displayError( details.msg ); } else if ( details.locations ) { |