ソースを参照

fix: Return promise while reloading doc (#13219)

version-14
Saqib 4年前
committed by GitHub
コミット
e73efaec04
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      frappe/public/js/frappe/form/form.js

+ 1
- 1
frappe/public/js/frappe/form/form.js ファイルの表示

@@ -1069,7 +1069,7 @@ frappe.ui.form.Form = class FrappeForm {

if(!this.doc.__islocal) {
frappe.model.remove_from_locals(this.doctype, this.docname);
frappe.model.with_doc(this.doctype, this.docname, () => {
return frappe.model.with_doc(this.doctype, this.docname, () => {
this.refresh();
});
}


読み込み中…
キャンセル
保存