From 006c5dfce874a623c1132af5052281667cd2e73b Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 18 May 2020 13:50:31 +0000 Subject: Update jQuery UI to 1.12.1 (#31887). Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@19783 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- public/javascripts/jstoolbar/jstoolbar.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'public/javascripts/jstoolbar/jstoolbar.js') diff --git a/public/javascripts/jstoolbar/jstoolbar.js b/public/javascripts/jstoolbar/jstoolbar.js index 064dfec1f..0a2d454e8 100644 --- a/public/javascripts/jstoolbar/jstoolbar.js +++ b/public/javascripts/jstoolbar/jstoolbar.js @@ -456,7 +456,8 @@ jsToolBar.prototype.precodeMenu = function(fn){ var hlLanguages = window.userHlLanguages; var menu = $(""); for (var i = 0; i < hlLanguages.length; i++) { - $("
  • ").text(hlLanguages[i]).appendTo(menu).mousedown(function(){ + var langItem = $('
    ').text(hlLanguages[i]); + $("
  • ").html(langItem).appendTo(menu).mousedown(function(){ fn($(this).text()); }); } -- cgit v1.2.3