aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorM Somerville <matthew-github@dracos.co.uk>2020-08-18 10:31:47 +0100
committerM Somerville <matthew-github@dracos.co.uk>2020-08-24 10:51:49 +0100
commit51252c8ad919aa7fe0f8c8fe7ac8afadb6de5b18 (patch)
treec081b47d1899e100486fb059642477354422e829 /web
parent98c59e111bb1e8355b8eba3a10f9a5fbf2076d30 (diff)
Update relevant meta message lines on named asset.
Otherwise, if you switch category and the new asset layer is added before the old is removed, the old (still visible) layer asset found would fire but change the meta message of the new layer.
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/assets.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/assets.js b/web/cobrands/fixmystreet/assets.js
index 6ebb0524b..00dec0542 100644
--- a/web/cobrands/fixmystreet/assets.js
+++ b/web/cobrands/fixmystreet/assets.js
@@ -883,7 +883,7 @@ fixmystreet.assets = {
if (!message) {
message = get_asset_pick_message.call(this);
}
- $('.category_meta_message').html(message);
+ update_message_display.call(this, message);
},
named_select_action_not_found: function() {
var message = get_asset_pick_message.call(this);