mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-23 09:19:55 +00:00
git-svn-id: http://svn.redmine.org/redmine/trunk@15567 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
91f91f24de
commit
e528a56d4b
File diff suppressed because one or more lines are too long
@ -375,7 +375,7 @@ jsToolBar.prototype.resizeDragStop = function(event) {
|
||||
|
||||
/* Code highlighting menu */
|
||||
jsToolBar.prototype.precodeMenu = function(fn){
|
||||
var codeRayLanguages = ["c", "clojure", "cpp", "css", "delphi", "diff", "erb", "go", "groovy", "haml", "html", "java", "javascript", "json", "lua", "php", "python", "ruby", "sass", "sql", "text", "xml", "yaml"];
|
||||
var codeRayLanguages = ["c", "clojure", "cpp", "css", "delphi", "diff", "erb", "go", "groovy", "haml", "html", "java", "javascript", "json", "lua", "php", "python", "ruby", "sass", "sql", "taskpaper", "text", "xml", "yaml"];
|
||||
var menu = $("<ul style='position:absolute;'></ul>");
|
||||
for (var i = 0; i < codeRayLanguages.length; i++) {
|
||||
$("<li></li>").text(codeRayLanguages[i]).appendTo(menu).mousedown(function(){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user