bugfix
This commit is contained in:
parent
0e8fa25391
commit
ed896dbf4e
@ -55,8 +55,11 @@ ui_tmpl = """
|
||||
"parentField":"{{parentField}}",
|
||||
"idField":"{{idField}}",
|
||||
"textField":"{{textField}}",
|
||||
{% if dataparams %}
|
||||
"dataparams": {{json.dumps(dataparams)}},
|
||||
{% endif %}
|
||||
{% if get_data_url %}
|
||||
"dataurl": "{{get_data_url}}"
|
||||
"dataurl": "{{get_data_url}}",
|
||||
{% else %}
|
||||
"dataurl":{%- raw -%}"{{entire_url('./get_{%- endraw -%}{{tblname}}{%- raw -%}.dspy')}}"{%- endraw %}
|
||||
{% endif %}
|
||||
|
||||
@ -40,7 +40,7 @@ def subtable2toolbar(desc):
|
||||
desc.toolbar = DictObject(**{
|
||||
"tools":[]
|
||||
})
|
||||
tools = desc.toolbar.tools
|
||||
tools = desc.toolbar.tools or []
|
||||
binds = desc.binds or []
|
||||
for st in desc.subtables:
|
||||
tools.append({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user