[fix] fixes for dirty()
This commit is contained in:
parent
531a35409c
commit
4e175b0331
1 changed files with 1 additions and 0 deletions
|
|
@ -131,6 +131,7 @@ _f.Frm.prototype.watch_model_updates = function() {
|
|||
wn.model.on(me.doctype, "*", function(fieldname, value, doc) {
|
||||
// set input
|
||||
if(doc.name===me.docname) {
|
||||
me.dirty();
|
||||
me.fields_dict[fieldname]
|
||||
&& me.fields_dict[fieldname].refresh(fieldname);
|
||||
me.refresh_dependency();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue