mirror of
https://github.com/redmine/redmine.git
synced 2026-07-07 17:13:29 +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:
File diff suppressed because one or more lines are too long
24
public/javascripts/jquery-2.2.4-ui-1.12.1-ujs-5.2.3.js
Normal file
24
public/javascripts/jquery-2.2.4-ui-1.12.1-ujs-5.2.3.js
Normal file
File diff suppressed because one or more lines are too long
@@ -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