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][hotfix] initialize script property in page.py
version-14
pratu16x7
7 years ago
parent
715d335bf2
commit
0685a56a53
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
frappe/core/doctype/page/page.py
+ 1
- 0
frappe/core/doctype/page/page.py
View File
@@ -97,6 +97,7 @@ class Page(Document):
def load_assets(self):
from frappe.modules import get_module_path, scrub
import os
self.script = ''
page_name = scrub(self.name)
Write
Preview
Loading…
Cancel
Save