[fix] get jenv and use ios safari's fullscreen
This commit is contained in:
parent
a0910eabc7
commit
d3bf12e77f
2 changed files with 3 additions and 2 deletions
|
|
@ -3,7 +3,8 @@
|
|||
<meta charset="utf-8">
|
||||
<title>Frappe Desk</title>
|
||||
<meta name="author" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0,
|
||||
maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui">
|
||||
<link rel="shortcut icon"
|
||||
href="{{ favicon or "/assets/frappe/images/favicon.ico" }}" type="image/x-icon">
|
||||
<link rel="icon"
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ def set_filters(jenv):
|
|||
jenv.filters["flt"] = flt
|
||||
|
||||
# load jenv_filters from hooks.py
|
||||
for app in frappe.get_all_apps(True):
|
||||
for app in frappe.get_installed_apps():
|
||||
for jenv_filter in (frappe.get_hooks(app_name=app).jenv_filter or []):
|
||||
filter_name, filter_function = jenv_filter.split(":")
|
||||
jenv.filters[filter_name] = frappe.get_attr(filter_function)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue