uprava gitAdd

This commit is contained in:
2021-01-09 17:50:43 +01:00
parent 641c58e419
commit fa92f12f78
2 changed files with 42 additions and 10 deletions

View File

@@ -241,7 +241,7 @@ class Controller {
}
loading.style.display = "block";
this.model.gitAddAll().then(
this.model.gitAdd().then(
function (value) {
this.model.gitCommit(msg.value).then(
function (value) {
@@ -261,12 +261,10 @@ class Controller {
}
openPublish() {
this.model
.getChangedFiles(this.model.dirTree, this.model.gitDirTreeStat)
.then(
function (v) {
this.view.openPublish(v);
}.bind(this)
);
this.model.getChangedFiles().then(
function (v) {
this.view.openPublish(v);
}.bind(this)
);
}
}