diff --git a/app/javascript/vue/experiments/modals/edit.vue b/app/javascript/vue/experiments/modals/edit.vue index deecc4e21..4ec0028ad 100644 --- a/app/javascript/vue/experiments/modals/edit.vue +++ b/app/javascript/vue/experiments/modals/edit.vue @@ -64,6 +64,7 @@ export default { }, mounted() { SmartAnnotation.init($(this.$refs.description), false); + $(this.$refs.modal).on('hidden.bs.modal', this.handleAtWhoModalClose); }, mixins: [modalMixin], methods: { @@ -80,6 +81,9 @@ export default { HelperModule.flashAlertMsg(error.response.data.message, 'danger'); }); }, + handleAtWhoModalClose() { + $('.atwho-view.old').css('display', 'none'); + } }, }; diff --git a/app/views/shared/smart_annotation/_menu.html.erb b/app/views/shared/smart_annotation/_menu.html.erb index b15b497c5..b37c165dc 100644 --- a/app/views/shared/smart_annotation/_menu.html.erb +++ b/app/views/shared/smart_annotation/_menu.html.erb @@ -11,7 +11,7 @@
-
<% if repositories.length > 1 %> +
<% if repositories.length > 1 %>
<% repositories.each do |repository| %>