Skip to content

Commit d3a25ca

Browse files
author
minjk-bl
committed
Fix bug which returns wrong path from file navigation on File - Write app
1 parent fb924a7 commit d3a25ca

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

js/com/component/FileNavigation.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,7 @@ define([
402402
$(this.wrapSelector('#vp_fileNavigationInput')).on('change', function() {
403403
let fileName = $(this).val();
404404
let filePath = that.getRelativePath(that.pathState.baseDir, that.pathState.currentPath);
405-
if (filePath == '') {
406-
filePath = './' + fileName;
407-
}
405+
408406
that.handleSelectFile(filePath, fileName);
409407
});
410408
// bind save cancel event

0 commit comments

Comments
 (0)