aboutsummaryrefslogtreecommitdiffstats
path: root/web/js.js
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@dracos.co.uk>2011-03-25 15:25:06 +0000
committerMatthew Somerville <matthew@dracos.co.uk>2011-03-25 15:25:06 +0000
commitf931e2f7146ee271807315a9830c71afc8ad6eb5 (patch)
tree042b0fd56636fdefde655b2e5d62d210a3d4776f /web/js.js
parent71c4b7a598c6b0b441eef63b1e1e016bd45e9991 (diff)
parent8db1506fb88902e70350d15ba9484180c9d9b3bb (diff)
Merge branch 'master' into reportemptyhomes
Conflicts: web/css/cobrands/emptyhomes/emptyhomes.css
Diffstat (limited to 'web/js.js')
-rw-r--r--web/js.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/web/js.js b/web/js.js
index b2012fc84..07bede2d7 100644
--- a/web/js.js
+++ b/web/js.js
@@ -16,8 +16,12 @@ YAHOO.util.Event.onContentReady('mapForm', function() {
this.onsubmit = function() { return false; };
}
- this.x.value = fixmystreet.x + 3;
- this.y.value = fixmystreet.y + 3;
+ /* XXX Should be in Tilma code only */
+ if (this.x) {
+ this.x.value = fixmystreet.x + 3;
+ this.y.value = fixmystreet.y + 3;
+ }
+
/*
if (swfu && swfu.getStats().files_queued > 0) {
swfu.startUpload();