mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 13:27:40 +02:00
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:
@@ -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());
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user