Commit aa0eacec authored by Ivan Tyagov's avatar Ivan Tyagov

In some very specific cases it's usefull to allow a gadget instance define its...

In some very specific cases it's usefull to allow a gadget instance define its own view form (i.e. when rendering remote content in some case we want it done it synchronously for SEO).
parent 10761684
No related merge requests found
......@@ -64,7 +64,7 @@
dummy python: request.set(\'box_relative_url\', box_relative_url);\n
dummy python: request.form.update(dict(box_relative_url=box_relative_url));\n
edit_form_id gadget/getEditFormId;\n
view_form_id gadget/getViewFormId;\n
view_form_id python: test(box.getViewFormId() is not None , box.getViewFormId(), gadget.getViewFormId());\n
render_type python: test(box.getRenderType() is not None, box.getRenderType(), gadget.getRenderType());\n
is_asynchronous_gadget python: render_type == \'asynchronous\';\n
is_gadget_visible python: gadget is not None and gadget_state!=\'invisible\';">\n
......
746
\ No newline at end of file
747
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment