Explorar el Código

Allow control over loading scripts in base.

Some control over how base scripts are loaded would be helpful. Faced issue while integrating summernote within web page.
https://github.com/summernote/summernote/issues/138

For now, we have overridden base.html in custom app.
version-14
gaurav-naik hace 8 años
committed by GitHub
padre
commit
7e57005894
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      frappe/templates/base.html

+ 2
- 2
frappe/templates/base.html Ver fichero

@@ -78,13 +78,13 @@
{%- block footer -%}{% include "templates/includes/footer/footer.html" %}{%- endblock -%}
</div>
</div>
{% block base_scripts %}
<!-- js should be loaded in body! -->
<script type="text/javascript"
src="/assets/frappe/js/lib/jquery/jquery.min.js"></script>
<script type="text/javascript"
src="/assets/js/frappe-web.min.js"></script>
{% endblock %}
{%- if js_globals is defined %}
<script>
{%- for key, value in js_globals.iteritems() %}


Cargando…
Cancelar
Guardar