newProblem.id = ret.id;
newProblem.uid = this.st.user.id;
newProblem.uname = this.st.user.name;
- this.problems = this.problems.concat(newProblem);
+ this.problems = [newProblem].concat(this.problems);
this.resetCurProb();
}
this.infoMsg = "";
+ document.getElementById("modalNewprob").checked = false;
}
);
},