浏览代码

[minor] __onload is frappe._dict

version-14
Rushabh Mehta 9 年前
父节点
当前提交
2babe422d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      frappe/model/document.py

+ 1
- 1
frappe/model/document.py 查看文件

@@ -873,7 +873,7 @@ class Document(BaseDocument):

def set_onload(self, key, value):
if not self.get("__onload"):
self.set("__onload", {})
self.set("__onload", frappe._dict())
self.get("__onload")[key] = value

def update_timeline_doc(self):


正在加载...
取消
保存