Fixed the summary helper when starting a summary helper from a newly-added record in the transaction form in the accounting application.

This commit is contained in:
依瑪貓 2020-08-09 17:11:20 +08:00
parent 7aa2146902
commit 50eb3f080c

View File

@ -245,7 +245,7 @@ function insertNewRecord(type, newNo) {
})
.on("click", function () {
if (typeof startSummaryHelper === "function") {
startSummaryHelper(this);
startSummaryHelper($(this));
}
});
$("#" + type + "-" + newNo + "-amount")