Skip to content
Snippets Groups Projects
Commit 78ecfc89 authored by Tom Needham's avatar Tom Needham
Browse files

Fix breadcrumb path

parent 68fd5a5d
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ function setSyntaxMode(ext){ ...@@ -67,7 +67,7 @@ function setSyntaxMode(ext){
function showControls(filename,writeperms){ function showControls(filename,writeperms){
// Loads the control bar at the top. // Loads the control bar at the top.
// Load the new toolbar. // Load the new toolbar.
var editorbarhtml = '<div id="editorcontrols" style="display: none;"><div class="crumb svg last" id="breadcrumb_file" style="background-image:url(&quot;../core/img/breadcrumb.png&quot;)"><p>'+filename+'</p></div>'; var editorbarhtml = '<div id="editorcontrols" style="display: none;"><div class="crumb svg last" id="breadcrumb_file" style="background-image:url(&quot;'+OC.imagePath('core','breadcrumb.png')+'&quot;)"><p>'+filename+'</p></div>';
if(writeperms=="true"){ if(writeperms=="true"){
editorbarhtml += '<button id="editor_save">'+t('files_texteditor','Save')+'</button><div class="separator"></div>'; editorbarhtml += '<button id="editor_save">'+t('files_texteditor','Save')+'</button><div class="separator"></div>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment