Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: T3RR0R15T on March 27, 2011, 09:48:44 AM

Title: Bug: Forum quote function sets wrong focus
Post by: T3RR0R15T on March 27, 2011, 09:48:44 AM
If i use the quote function here in the forum to get a quote into the quick reply, the forum sets the focus not at the end. It is set it mostly between the t and the e from the closing quote bbcode. Sometimes it will be set somewhere at the end of the quote.

Marked with the | in this example.
Code: [Select]
[quote author=jitspoe link=topic=409.msg208245#msg208245 date=1300735615]
Done.
[/quot|e]


So i can't make multiple quotes very fast. The next quote will be insert at the position from the focus => mid in the closing bbcode, that the quote before is damaged. I have to click behind the closing quote bbcode manually after each quote.
Title: Re: Bug: Forum quote function sets wrong focus
Post by: pvtjimmy on March 27, 2011, 10:22:14 AM
Never had this problem.

While quoting your post into the quick-reply, it sets the focus correctly...
Title: Re: Bug: Forum quote function sets wrong focus
Post by: webhead on March 28, 2011, 04:25:14 AM
Works fine for me too.
Title: Re: Bug: Forum quote function sets wrong focus
Post by: jitspoe on March 28, 2011, 10:40:45 AM
Works fine for me too.
[/quot
Never had this problem.

While quoting your post into the quick-reply, it sets the focus correctly...
[/qu
If i use the quote function here in the forum to get a quote into the quick reply, the forum sets the focus not at the end. It is set it mostly between the t and the e from the closing quote bbcode. Sometimes it will be set somewhere at the end of the quote.

Marked with the | in this example.
Code: [Select]
[quote author=jitspoe link=topic=409.msg208245#msg208245 date=1300735615]
Done.
[/quot|e]


So i can't make multiple quotes very fast. The next quote will be insert at the position from the focus => mid in the closing bbcode, that the quote before is damaged. I have to click behind the closing quote bbcode manually after each quote.
ote]e]

Hm, yeah.  Does this only happen in opera?
Title: Re: Bug: Forum quote function sets wrong focus
Post by: T3RR0R15T on March 28, 2011, 12:15:26 PM
"Opera 11.01" and "Opera 11.10 beta" makes it like i explained.
"Internet Explorer 9" sets it on the first position (before the complete quote).
"Firefox 3.5.18" sets it at the end (behind the complete quote).
Title: Re: Bug: Forum quote function sets wrong focus
Post by: webhead on March 28, 2011, 01:23:30 PM
Must be an Opera bug, because as we all know, Firefox is perfectly flawless. ;D
Title: Re: Bug: Forum quote function sets wrong focus
Post by: jitspoe on March 28, 2011, 02:54:08 PM
Hm, trying to figure out where the "doQuote" function is located.  It appears to work correctly with Opera on the SMF site, so it's probably a bug/old code in this theme.
Title: Re: Bug: Forum quote function sets wrong focus
Post by: T3RR0R15T on March 28, 2011, 04:22:29 PM
Maybe it is fixed in SMF 1.1.12 or SMF 1.1.13.
Title: Re: Bug: Forum quote function sets wrong focus
Post by: jitspoe on March 28, 2011, 04:23:48 PM
Maybe it is fixed in SMF 1.1.12 or SMF 1.1.13.
Could be.  I need to figure out why the update is failing.