News:

Wondering if this will always be free?  See why free is better.

Main Menu

Edit post: Quote, author=undefined added

Started by grimes, February 19, 2019, 09:31:45 AM

Previous topic - Next topic

grimes

Glitch: Editing a post with quote (without author)
Quotetest
adds automatically author=undefined
Quote from: undefinedtest

vii

I had noticed this when I added a bug fix for SMF 2.1's sceditor stuff to my project, and I fixed the issue by changing the code:

Themes/default/scripts/jquery.sceditor.smf.js  Line 724

if (attr_author == '' && attrs.defaultattr != '')

to

if (attr_author == '' && typeof attrs.defaultattr !== "undefined" && attrs.defaultattr != '') {

Advertisement: