1
0
Fork 0

When selecting forums there was an added "span" html element.

This commit is contained in:
Michael Vogel 2014-12-01 22:56:41 +01:00
parent 9124d922e9
commit 8b5412068e

View file

@ -62,7 +62,7 @@ ACL.prototype.add_mention = function(id) {
that.element.val( searchText + that.element.val() ); that.element.val( searchText + that.element.val() );
} else { } else {
if ( tinyMCE.activeEditor.getContent({format : 'raw'}).search(searchText) >= 0 ) return; if ( tinyMCE.activeEditor.getContent({format : 'raw'}).search(searchText) >= 0 ) return;
tinyMCE.activeEditor.dom.add(tinyMCE.activeEditor.getBody(), 'span', {}, searchText); tinyMCE.activeEditor.dom.add(tinyMCE.activeEditor.getBody(), 'dummy', {}, searchText);
} }
} }