1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-03-23 09:19:55 +00:00

Adds missing taskpaper language to the drop down (#14937, #23106).

git-svn-id: http://svn.redmine.org/redmine/trunk@15567 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-06-19 06:53:14 +00:00
parent 91f91f24de
commit e528a56d4b
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -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(){