Commit 4688161e authored by Romain Courteaud's avatar Romain Courteaud

erp5_web_renderjs_ui: fixup ensure there is a script name to call

parent bcd82831
......@@ -191,6 +191,7 @@ url_list.extend([
# Add all extra dependencies
precache_manifest_url_list = web_section.getLayoutProperty("configuration_precache_manifest_script_list", default='').splitlines()
for precache_manifest_script_id in precache_manifest_url_list:
if precache_manifest_script_id:
url_list.extend(web_section.restrictedTraverse(precache_manifest_script_id)())
if REQUEST is not None:
......
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