Commit af1f9907 by Scott

Fix trailing comma in CKeditor config

parent 49e086ad
......@@ -128,14 +128,14 @@ class qa_wysiwyg_editor
// Most CKeditor config occurs in ckeditor/config.js
"var qa_wysiwyg_editor_config = {",
// Set language to Q2A site language, falling back to English if not available.
" defaultLanguage: 'en',",
" language: " . qa_js(qa_opt('site_language')) . ",",
// File uploads
($uploadimages ? " filebrowserImageUploadUrl: $imageUploadUrl," : ""),
($uploadall ? " filebrowserUploadUrl: $fileUploadUrl," : ""),
// Set language to Q2A site language, falling back to English if not available.
" defaultLanguage: 'en',",
" language: " . qa_js(qa_opt('site_language')) . "",
"};",
);
}
......
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