úprava funkcí dir tree a přejmenování

This commit is contained in:
2020-12-29 01:51:50 +01:00
parent 6329bacff8
commit 9f31a4f171
3 changed files with 25 additions and 25 deletions

View File

@@ -52,7 +52,7 @@ class Controller {
}
redrawDirTree(view) {
this.model.dirTree().then(
this.model.getDirTree().then(
function (value) {
view.removeDirTree();
view.drawDirTree(value, undefined, this);
@@ -87,7 +87,7 @@ class Controller {
saveFile() {
var textArea = document.getElementsByTagName("textarea")[0];
this.model.saveFile(this.openedFile, textArea.value)
this.model.saveFile(this.openedFile, textArea.value);
this.openedFileValue = textArea.value;
this.saveButton()
}