Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/files_texteditor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2013-10-04 21:13:02 +0400
committerJan-Christoph Borchardt <hey@jancborchardt.net>2013-10-04 21:13:02 +0400
commit04a3d8cf09d5155966f65dcdae8f8675b5faa657 (patch)
tree98382d58dfdb7db31204c78fc3ba8752338f4acf /js
parentdfecddace329071318f49e08c407cfe999bb2a87 (diff)
fix texteditor removing the link tag inside the breadcrumb
Diffstat (limited to 'js')
-rw-r--r--js/editor.js4
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';
}
});