X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/7d90e33be7ee1de4f79216b33ce9e28794685dc4..42a46397a91a4bd24211bb98516a99c567247bf8:/redakcja/static/js/wiki/view_editor_wysiwyg.js diff --git a/redakcja/static/js/wiki/view_editor_wysiwyg.js b/redakcja/static/js/wiki/view_editor_wysiwyg.js index d8704fde..34618c4f 100644 --- a/redakcja/static/js/wiki/view_editor_wysiwyg.js +++ b/redakcja/static/js/wiki/view_editor_wysiwyg.js @@ -43,7 +43,7 @@ return true; } - /* Convert HTML frament to plaintext */ + /* Convert HTML fragment to plaintext */ var ANNOT_FORBIDDEN = ['pt', 'pa', 'pr', 'pe', 'begin', 'end', 'theme']; function html2plainText(fragment){ @@ -226,10 +226,11 @@ }).appendTo($box[0].offsetParent || $box.parent()).show(); if ($origin.is('.motyw')) { - $('textarea', $overlay).autocomplete(THEMES, { + $('textarea', $overlay).autocomplete('/themes', { autoFill: true, multiple: true, - selectFirst: true + selectFirst: true, + highlight: false }); }