]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix breadcrumb path
authorTom Needham <needham.thomas@gmail.com>
Sun, 13 May 2012 19:33:42 +0000 (19:33 +0000)
committerTom Needham <needham.thomas@gmail.com>
Sun, 13 May 2012 19:33:42 +0000 (19:33 +0000)
apps/files_texteditor/js/editor.js

index 2471d294a851337c7486b600e7952fe234323550..e1e348e28ac5e6b63ccb47d674f5d55289cdcd05 100644 (file)
@@ -67,7 +67,7 @@ function setSyntaxMode(ext){
 function showControls(filename,writeperms){
        // Loads the control bar at the top.
        // 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"){
                editorbarhtml += '<button id="editor_save">'+t('files_texteditor','Save')+'</button><div class="separator"></div>';
        }