[svn r22335] Fixed bug in IE when you want add brackets [...] to define one or more blanks into fckeditor - FS#4427

skala
Cristian Fasanando 16 years ago
parent 97f455b256
commit 7b8fcac20d
  1. 7
      main/exercice/fill_blanks.class.php

@ -101,7 +101,12 @@ class FillBlanks extends Question
<script type="text/javascript">
function FCKeditor_OnComplete( editorInstance )
{
editorInstance.EditorDocument.addEventListener( \'keyup\', updateBlanks, true ) ;
if (window.attachEvent) {
editorInstance.EditorDocument.attachEvent("onkeyup", updateBlanks) ;
} else {
editorInstance.EditorDocument.addEventListener("keyup",updateBlanks,true);
}
}
var firstTime = true;

Loading…
Cancel
Save