Skip to content

Commit

Permalink
Update relevant meta message lines on named asset.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
dracos committed Aug 18, 2020
1 parent 919cb2b commit 89eacad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
- Improve moderation diff display in a few small ways. #3105
- Do not have bootstrap run sudo commands. #2930
- Fix lookups in templates of categories with &s.
- Fix a few obscure asset layer changing issues.
- Admin improvements:
- Display user name/email for contributed as reports. #2990
- Interface for enabling anonymous reports for certain categories. #2989
Expand Down
2 changes: 1 addition & 1 deletion web/cobrands/fixmystreet/assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 89eacad

Please sign in to comment.