summaryrefslogtreecommitdiffstats
path: root/apps/files_texteditor
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-05-13 19:33:42 +0000
committerTom Needham <needham.thomas@gmail.com>2012-05-13 19:33:42 +0000
commit78ecfc89a7b65d21e61ed824bb6cf5f23a1d8cb8 (patch)
tree270dbd1d0e36f963b33232ef878f561b4b791031 /apps/files_texteditor
parent68fd5a5d5872e0a83509ab195057859edfd332ed (diff)
downloadnextcloud-server-78ecfc89a7b65d21e61ed824bb6cf5f23a1d8cb8.tar.gz
nextcloud-server-78ecfc89a7b65d21e61ed824bb6cf5f23a1d8cb8.zip
Fix breadcrumb path
Diffstat (limited to 'apps/files_texteditor')
-rw-r--r--apps/files_texteditor/js/editor.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_texteditor/js/editor.js b/apps/files_texteditor/js/editor.js
index 2471d294a85..e1e348e28ac 100644
--- a/apps/files_texteditor/js/editor.js
+++ b/apps/files_texteditor/js/editor.js
@@ -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>';
}