diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-10-04 21:13:02 +0400 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2013-10-04 21:13:02 +0400 |
commit | 04a3d8cf09d5155966f65dcdae8f8675b5faa657 (patch) | |
tree | 98382d58dfdb7db31204c78fc3ba8752338f4acf /js | |
parent | dfecddace329071318f49e08c407cfe999bb2a87 (diff) |
fix texteditor removing the link tag inside the breadcrumb
Diffstat (limited to 'js')
-rw-r--r-- | js/editor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/editor.js b/js/editor.js index 0690f36..a3841a3 100644 --- a/js/editor.js +++ b/js/editor.js @@ -169,7 +169,7 @@ function doFileSave() { } // Update titles $('#editor').attr('data-edited', 'false'); - $('.crumb.last').text($('#editor').attr('data-filename')); + $('.crumb.last a').text($('#editor').attr('data-filename')); document.title = $('#editor').attr('data-filename') + ' - ownCloud'; } }, 'json'); @@ -234,7 +234,7 @@ function showFileEditor(dir, filename) { window.aceEditor.getSession().on('change', function () { if ($('#editor').attr('data-edited') != 'true') { $('#editor').attr('data-edited', 'true'); - $('.crumb.last').text($('.crumb.last').text() + ' *'); + $('.crumb.last a').text($('.crumb.last a').text() + ' *'); document.title = $('#editor').attr('data-filename') + ' * - ownCloud'; } }); |