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
This commit is contained in:
Go MAEDA
2020-05-18 13:50:31 +00:00
parent 0b24a0bf9f
commit 006c5dfce8
27 changed files with 50 additions and 39 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -456,7 +456,8 @@ jsToolBar.prototype.precodeMenu = function(fn){
var hlLanguages = window.userHlLanguages;
var menu = $("<ul style='position:absolute;'></ul>");
for (var i = 0; i < hlLanguages.length; i++) {
$("<li></li>").text(hlLanguages[i]).appendTo(menu).mousedown(function(){
var langItem = $('<div></div>').text(hlLanguages[i]);
$("<li></li>").html(langItem).appendTo(menu).mousedown(function(){
fn($(this).text());
});
}