Преглед изворни кода

Merge pull request #11353 from scmmishra/fix-web-form-parent-evaluation

refactor: use this.doc if this.frm is not available
version-14
mergify[bot] пре 4 година
committed by GitHub
родитељ
комит
bd372a9cd1
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      frappe/public/js/frappe/form/layout.js

+ 1
- 1
frappe/public/js/frappe/form/layout.js Прегледај датотеку

@@ -525,7 +525,7 @@ frappe.ui.form.Layout = Class.extend({
return;
}

var parent = this.frm ? this.frm.doc : null;
var parent = this.frm ? this.frm.doc : this.doc || null;

if(typeof(expression) === 'boolean') {
out = expression;


Loading…
Откажи
Сачувај