From 00c0e38499a9bc39c28e15ace5b1df226d018049 Mon Sep 17 00:00:00 2001 From: Marius Balteanu Date: Sat, 22 Jan 2022 08:27:31 +0000 Subject: [PATCH] Merged r21377 from trunk to 4.2-stable (#35215). git-svn-id: http://svn.redmine.org/redmine/branches/4.2-stable@21378 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/application.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/public/javascripts/application.js b/public/javascripts/application.js index 7feb3a293..098417420 100644 --- a/public/javascripts/application.js +++ b/public/javascripts/application.js @@ -1169,9 +1169,6 @@ function inlineAutoComplete(element) { }, menuItemTemplate: function (issue) { return sanitizeHTML(issue.original.label); - }, - noMatchTemplate: function () { - return ''; } }, { @@ -1189,12 +1186,10 @@ function inlineAutoComplete(element) { }, menuItemTemplate: function (wikiPage) { return sanitizeHTML(wikiPage.original.label); - }, - noMatchTemplate: function () { - return ''; } } - ] + ], + noMatchTemplate: "" }); tribute.attach(element); -- 2.39.5