[GH#3026] Quick Reply and JS (Mentions + quote selected)

Started by Shkic, September 04, 2015, 03:04:59 PM

Previous topic - Next topic

Shkic

Interesting thing happening in quick reply window. If I turn on WYSIWYG I can mention other users (after type @ opening a suggestion box), but I can't quote selected text (selected text not appearing in quick reply window and I get this error:


Uncaught TypeError: Cannot read property '0' of undefined jquery.sceditor.bbcode.min.js:2
Uncaught TypeError: Cannot read property '0' of undefined 6jquery.sceditor.bbcode.min.js:3


BUT when I turn off WYSIWYG on my forum profile I can quote selected text, but cannot mention other members (suggestion box not appearing) and I got this error:

Uncaught TypeError: this.$inputor.caret is not a function jquery.atwho.min.js:1

Strange, isn't it?

I'm using Beta 2 (also I updated all JS files to latest). Do not have any mods.

Oldiesmann

#1
Confirmed and tracked on GitHub as issue 3026: https://github.com/SimpleMachines/SMF2.1/issues/3026
Michael Eshom
Christian Metal Fans

Advertisement: