From f9ef60e83955b853cc7cfbe264d826b0072bc4cf Mon Sep 17 00:00:00 2001 From: Antonin Delpeuch Date: Tue, 19 Feb 2019 14:47:24 +0000 Subject: [PATCH] Also allow ${id} syntax for consistency with flyout --- main/webapp/modules/core/externals/suggest/suggest-4_3.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/webapp/modules/core/externals/suggest/suggest-4_3.js b/main/webapp/modules/core/externals/suggest/suggest-4_3.js index a630affc8..605ad1ea6 100644 --- a/main/webapp/modules/core/externals/suggest/suggest-4_3.js +++ b/main/webapp/modules/core/externals/suggest/suggest-4_3.js @@ -1303,7 +1303,7 @@ // clicking with the middle button sends the user to // the view page. if('view_url' in this.options && data.id) { - var view_url = this.options.view_url.replace('{{id}}', data.id); + var view_url = this.options.view_url.replace('{{id}}', data.id).replace('${id}', data.id); li.on('mousedown', function(e) { if (e.which == 2) { var win = window.open(view_url, '_blank');