Web editor: improve code quality

This commit is contained in:
Unknwon 2016-08-24 21:35:03 -07:00
parent 67fb0fe6a5
commit f8a48ffaad
19 changed files with 75 additions and 81 deletions

View file

@ -779,7 +779,7 @@ function initEditor() {
});
if ($(this).val())
parts.push($(this).val());
$('#tree-name').val(parts.join('/'));
$('#tree_path').val(parts.join('/'));
}).trigger('keyup');
var $editArea = $('.repository.editor textarea#edit_area');