úprava funkcí dir tree a přejmenování
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user