[hotfix] refresh dependancy after values are set in doc

This commit is contained in:
mbauskar 2017-09-21 17:55:10 +05:30
parent ead7056167
commit 69eb8934c0

View file

@ -33,11 +33,15 @@ frappe.ui.FieldGroup = frappe.ui.form.Layout.extend({
}
$(this.body).find('input').on('change', function() {
me.refresh_dependency();
frappe.run_serially([
() => me.refresh_dependency()
]);
})
$(this.body).find('select').on("change", function() {
me.refresh_dependency();
frappe.run_serially([
() => me.refresh_dependency()
]);
})
}
},