Commit c5f2209e authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Fix javascript files load twice in debug mode.

parent c10ffc6e
......@@ -40,11 +40,11 @@ if is_dbui:
app_css="static/plugin_event/resources/css/event.css",
app_changelog="static/plugin_event/CHANGELOG",
app_db_schema="static/plugin_event/docs/database.png",
app_debug="static/plugin_event/src",
app_debug=None,
app_html_api="static/plugin_event/docs/api/index.html",
app_html_jsduck="static/plugin_event/docs/jsduck/index.html",
app_html_user="static/plugin_event/docs/user/index.html",
app_lg="static/plugin_event/locale/event-lang-fr.js",
app_lg=None,
app_license="static/plugin_event/LICENSE",
app_libmin="static/plugin_event/event-min.js",
app_pdf_api="static/plugin_event/docs/pdf/event_api.pdf",
......
......@@ -29,6 +29,6 @@ class Event(object):
dbui.plugins_paths["event"] = {
"css": "static/plugin_event/resources/css/event.css",
"debug": "static/plugin_event/event-debug.js",
"debug": None,
"lg": "static/plugin_event/locale/event-lang-%s.js" % lg,
"libmin": "static/plugin_event/event-min.js"}
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