Skip to content

Commit

Permalink
fix selector for initeditorsystem
Browse files Browse the repository at this point in the history
  • Loading branch information
orthagh committed Jul 6, 2016
1 parent 07c57d8 commit 67ded9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions inc/html.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -3887,14 +3887,15 @@ class='autocompletion-text-field'>";
*
* @return nothing
**/
static function initEditorSystem($domid, $rand='', $display=true) {
static function initEditorSystem($name, $rand='', $display=true) {
global $CFG_GLPI;

Html::scriptStart();
$js = "tinyMCE.init({
language: '".$_SESSION['glpilanguage']."',
browser_spellcheck: true,
selector: '#$domid',
mode: 'exact',
elements: '$name',
relative_urls: false,
remove_script_host: false,
entity_encoding: 'raw',
Expand Down

0 comments on commit 67ded9f

Please sign in to comment.