Commit 1e8d7383 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

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

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