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
Pipeline #36818 failed with stage
in 0 seconds
......@@ -191,7 +191,8 @@ 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:
url_list.extend(web_section.restrictedTraverse(precache_manifest_script_id)())
if precache_manifest_script_id:
url_list.extend(web_section.restrictedTraverse(precache_manifest_script_id)())
if REQUEST is not None:
import json
......
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