Commit d3e6f7dd authored by Cédric Le Ninivin's avatar Cédric Le Ninivin Committed by Titouan Soulard

erp5_code_mirror: Add mode "application/json" for JSON Form

parent 63fb808b
...@@ -79,6 +79,8 @@ ...@@ -79,6 +79,8 @@
mode = 'javascript'; mode = 'javascript';
} else if (options.portal_type === 'Web Style') { } else if (options.portal_type === 'Web Style') {
mode = 'css'; mode = 'css';
} else if (options.portal_type === 'JSON Form') {
mode = 'application/json';
} else if ((options.portal_type === 'Python Script') || } else if ((options.portal_type === 'Python Script') ||
(options.portal_type === 'Test Component') || (options.portal_type === 'Test Component') ||
(options.portal_type === 'Module Component') || (options.portal_type === 'Module Component') ||
......
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