Commit ebc1b746 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

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

parent aadb2fd0
...@@ -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