diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-04-04 12:24:03 +0100 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-04-04 12:24:03 +0100 |
commit | 8fa7e52025478515203b39f3e7afafb829b60731 (patch) | |
tree | 295fb14df87abc4577418cfd294931cc51f7c991 /web/js.js | |
parent | 689e4c3bd7c7c1cb24ecad3b35a57947bfb7945b (diff) | |
parent | e591ef105c5996e95f2e7738b324c25b3708f0be (diff) |
Merge branch 'master' into migrate_to_catalyst
Conflicts:
.gitignore
commonlib
conf/packages
perllib/FixMyStreet/Map.pm
templates/website/cobrands/barnet/footer
web/confirm.cgi
web/css/core.css
web/import.cgi
web/index.cgi
Diffstat (limited to 'web/js.js')
-rw-r--r-- | web/js.js | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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(); |