Commit e60b7765 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 1ce9ae40
......@@ -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