diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-04-24 10:04:05 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-04-24 10:04:05 +0100 |
commit | 339ed277ad480116c0a64300b2a55b28bc326310 (patch) | |
tree | 1fcaaf7493348db3bcee6309976e5dd3e706d71f /web/js/map-OpenLayers.js | |
parent | afa97893b54edd890527a80392492f0d10a739a1 (diff) |
Text changes from Bromley, fix bug where multiple Title fields would appear if pin moved.
Diffstat (limited to 'web/js/map-OpenLayers.js')
-rw-r--r-- | web/js/map-OpenLayers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/js/map-OpenLayers.js b/web/js/map-OpenLayers.js index a92d02c84..ac8a7819e 100644 --- a/web/js/map-OpenLayers.js +++ b/web/js/map-OpenLayers.js @@ -23,7 +23,7 @@ function fixmystreet_update_pin(lonlat) { $('#side-form, #site-logo').show(); $('#councils_text').html(data.councils_text); $('#form_category_row').html(data.category); - if ( data.extra_name_info ) { + if ( data.extra_name_info && !$('#form_fms_extra_title').length ) { // there might be a first name field on some cobrands var lb = $('#form_first_name').prev() || $('#form_name').prev(); lb.before(data.extra_name_info); |