mirror of
https://github.com/odoo/documentation.git
synced 2026-01-02 17:59:20 +07:00
[FIX] core: import jquery
This commit is contained in:
@@ -100,6 +100,7 @@ def resolve(old_resolve, tree, docname, *args, **kwargs):
|
||||
for _subnode in _reference_node.parent.parent.children
|
||||
): # The node references a toc
|
||||
if 'show-content' not in tree.env.metadata[_node_docname]:
|
||||
import pudb; pudb.set_trace();
|
||||
_reference_node['refuri'] = '#' # The page must not be accessible
|
||||
|
||||
def _set_docname_as_class(_reference_node, _node_docname):
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
<script src="{{ pathto(link, 1) }}"></script>
|
||||
{%- endfor %}
|
||||
{%- endif %}
|
||||
<script src="https://code.jquery.com/jquery-3.7.1.slim.min.js"
|
||||
crossorigin="anonymous"></script>
|
||||
{{ super() }} {# Load the scripts specified in the extensions/themes #}
|
||||
{%- if plausible_script -%}
|
||||
<script defer="defer" src="{{ plausible_script }}" data-domain="{{ plausible_domain }}"></script>
|
||||
|
||||
Reference in New Issue
Block a user