Skip to content

Commit

Permalink
fix(ckeditor): replaced deprecated get_current_language js function
Browse files Browse the repository at this point in the history
  • Loading branch information
jdalsem committed May 16, 2022
1 parent 3001a30 commit 036c532
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mod/ckeditor/views/default/elgg/ckeditor/config.js
Expand Up @@ -8,7 +8,7 @@ define(['jquery', 'elgg'], function($, elgg) {
baseHref: elgg.get_site_url(),
extraPlugins: 'blockimagepaste',
defaultLanguage: 'en',
language: elgg.get_language(),
language: elgg.config.current_language,
skin: 'moono-lisa',
contentsCss: elgg.get_simplecache_url('elgg/wysiwyg.css'),
disableNativeSpellChecker: false,
Expand Down
2 changes: 1 addition & 1 deletion mod/ckeditor/views/default/elgg/ckeditor/config/simple.js
Expand Up @@ -9,7 +9,7 @@ define(['jquery', 'elgg'], function($, elgg) {
removePlugins: 'elementspath', // no need to see elementspath
extraPlugins: 'blockimagepaste',
defaultLanguage: 'en',
language: elgg.get_language(),
language: elgg.config.current_language,
skin: 'moono-lisa',
contentsCss: elgg.get_simplecache_url('elgg/wysiwyg.css'),
disableNativeSpellChecker: false,
Expand Down

0 comments on commit 036c532

Please sign in to comment.