aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-09-18 17:07:34 +0100
committerStruan Donald <struan@exo.org.uk>2013-09-18 17:07:34 +0100
commit96b2b7a8dde8c9e1713d741bc24fa8fcc53d94be (patch)
tree904363541dfc6192c6cdfb55ea647f9c4988f256
parent9e3d627f20fa3bf336018fb40792397c7caf56f1 (diff)
clear search errors when starting new report
Fixes #136
-rw-r--r--src/js/views/around.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/js/views/around.js b/src/js/views/around.js
index f4db059..a3c2d53 100644
--- a/src/js/views/around.js
+++ b/src/js/views/around.js
@@ -239,6 +239,7 @@
onClickMark: function(e) {
e.preventDefault();
+ this.clearSearchErrors();
this.displayButtons(true);
$('#popup').hide();
$('#OpenLayers_Control_Crosshairs_crosshairs').show();