OSDN Git Service
(root)
/
wvm
/
gitlab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae006dd
)
fix ace mode 404
author
tsl0922
<tsl0922@gmail.com>
Fri, 3 May 2013 10:09:57 +0000
(18:09 +0800)
committer
tsl0922
<tsl0922@gmail.com>
Fri, 3 May 2013 10:09:57 +0000
(18:09 +0800)
app/views/edit_tree/show.html.haml
patch
|
blob
|
history
diff --git
a/app/views/edit_tree/show.html.haml
b/app/views/edit_tree/show.html.haml
index
e7bdeb3
..
5092054
100644
(file)
--- a/
app/views/edit_tree/show.html.haml
+++ b/
app/views/edit_tree/show.html.haml
@@
-30,6
+30,7
@@
= link_to "Cancel", project_tree_path(@project, @id), class: "btn btn-cancel", confirm: "Are you sure?"
:javascript
+ ace.config.set("modePath", "#{Gitlab::Application.config.assets.prefix}/ace-src-noconflict")
var ace_mode = "#{@blob.language.try(:ace_mode)}";
var editor = ace.edit("editor");
if (ace_mode) {