This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
[minor] __onload is frappe._dict
version-14
Rushabh Mehta
9 years ago
parent
b5e2d2aa90
commit
2babe422d7
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/model/document.py
+ 1
- 1
frappe/model/document.py
View File
@@ -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):
Write
Preview
Loading…
Cancel
Save