- bug fixes Testphase Januar 2020

This commit is contained in:
Arno Kaimbacher 2020-01-23 17:52:26 +01:00
parent d323e1d4bb
commit a773fe2a1d
29 changed files with 1238 additions and 496 deletions

View file

@ -152,6 +152,9 @@ const app = new Vue({
keywords_length() {
return this.dataset.subjects.length;
},
files_length() {
return this.dataset.files.length;
},
isInitial() {
return this.currentStatus === STATUS_INITIAL;
},
@ -578,10 +581,15 @@ const app = new Vue({
}
return true;
},
submit(status) {
submit(scope) {
// alert('Submit to blah and show blah and etc.');
// save it
this.save(status);
// this.save(status);
this.$validator.validateAll(scope).then((result) => {
if (result) {
this.save("inprogress");
}
});
},
handleTimeExpire() {
window.location = '/login';