invoking the proper ACE Editor mode

v1.18.x
Julian Lam 7 years ago
parent 8741f7c63c
commit 0efa403a68

@ -23,7 +23,7 @@ define('admin/appearance/customise', ['admin/settings', 'ace/ace'], function (Se
}); });
customJS.setTheme('ace/theme/twilight'); customJS.setTheme('ace/theme/twilight');
customJS.getSession().setMode('ace/mode/js'); customJS.getSession().setMode('ace/mode/javascript');
customJS.on('change', function () { customJS.on('change', function () {
app.flags = app.flags || {}; app.flags = app.flags || {};

Loading…
Cancel
Save