aboutsummaryrefslogtreecommitdiffstats
path: root/web/js/map-tilma.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-25 14:26:03 +0000
committerMatthew Somerville <matthew@fury.ukcod.org.uk>2011-03-25 14:26:03 +0000
commit8575d80b2c213976c398592745228011addfbf05 (patch)
tree20fcdcaf2c3546b0194926e01dba7e3446851c85 /web/js/map-tilma.js
parentfea3dbfc75a4470e0fe04f9ba594202a282d930c (diff)
Don't load_pins on drag if on the purple pin form page.
Diffstat (limited to 'web/js/map-tilma.js')
-rw-r--r--web/js/map-tilma.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-tilma.js b/web/js/map-tilma.js
index 1ae38cff1..1b8cc6450 100644
--- a/web/js/map-tilma.js
+++ b/web/js/map-tilma.js
@@ -135,7 +135,7 @@ function update_tiles(dx, dy, force) {
}
function load_pins(x, y) {
- if (document.getElementById('formX')) {
+ if (document.getElementById('formX') && !document.getElementById('problem_submit')) {
all_pins = '';
if (document.getElementById('all_pins')) {
all_pins = document.getElementById('all_pins').value;