From cd30774e80b8262fa602e0af7486f22e96cbfa23 Mon Sep 17 00:00:00 2001 From: Peter Mathis Date: Wed, 27 Sep 2023 14:40:33 +0200 Subject: [PATCH] fix(pat relateditems): Do not auto-close upload dropdown when clicking "browse" button. --- src/pat/relateditems/relateditems.js | 1 - src/pat/relateditems/templates/toolbar.xml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pat/relateditems/relateditems.js b/src/pat/relateditems/relateditems.js index 3a767a97a..bde725cc7 100644 --- a/src/pat/relateditems/relateditems.js +++ b/src/pat/relateditems/relateditems.js @@ -427,7 +427,6 @@ export default Base.extend({ data.push.apply(data, e.results); this.$el.select2("data", data, true); this.emit("selected"); - this.popover.hide(); }, false ); diff --git a/src/pat/relateditems/templates/toolbar.xml b/src/pat/relateditems/templates/toolbar.xml index fd5e209ff..f8f8fd209 100644 --- a/src/pat/relateditems/templates/toolbar.xml +++ b/src/pat/relateditems/templates/toolbar.xml @@ -38,13 +38,13 @@ <% if (upload) { %> <% } %>